Commit 6ae8a24
committed
The active window for accessibility purposes can be miscomputed.
1. The active window is the one that the user touches or the one
that has input focus. We recognize the user touching a window
by the received accessibility hover events and the user not
touching the screen by a call from the touch explorer. It is
possible that the user touches window that does not have
input focus and as soon as he lifts finger the active one
will become the window that has input focus but now we get
he hover accessibility events from the touched window which
incorrectly changes the active window to be the touched one.
Note that at this point the user is not touching the screen.
bug:7298484
Change-Id: Ife035a798a6e68133f9220eeeabdfcd35a431b561 parent 2514456 commit 6ae8a24
File tree
2 files changed
+16
-1
lines changed- services/java/com/android/server/accessibility
2 files changed
+16
-1
lines changedLines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
646 | 650 | | |
647 | 651 | | |
648 | 652 | | |
| |||
2138 | 2142 | | |
2139 | 2143 | | |
2140 | 2144 | | |
| 2145 | + | |
2141 | 2146 | | |
2142 | 2147 | | |
2143 | 2148 | | |
| |||
2185 | 2190 | | |
2186 | 2191 | | |
2187 | 2192 | | |
2188 | | - | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
2189 | 2198 | | |
2190 | 2199 | | |
2191 | 2200 | | |
2192 | 2201 | | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
2193 | 2206 | | |
| 2207 | + | |
2194 | 2208 | | |
2195 | 2209 | | |
2196 | 2210 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| 401 | + | |
401 | 402 | | |
402 | 403 | | |
403 | 404 | | |
| |||
0 commit comments