Commit f76a83c
committed
Fixing some minor issues in accessibility focus.
1. Now accessibility focus does not drag input focus and
vice versa. Having the two focuses chase each other
can lead to some pathological cases. For example, a
container is input focusable and manages input focus
for its children i.e. as soon as it gets input focus
it sets input focus to a child. Now assume input and
accessibility focus are on a child and focus search
finds the parent to take accessibility focus, now
putting accessibility focus to the parent will put
input focus there and the parent will put input focus
to the child which as a result will put accessibility
focus there, thus resulting in traversal loop.
bug:6522900
2. Fixed asymmetrical behavior of accessibility focus search
for AbsListView.
bug:6520016
3. Fixed accessibility focus search getting stuck in an
empty AbsListView.
bug:6520049
Change-Id: Ia26e5be7b5a9f340f873861ff466c787467b98dc1 parent d51ac09 commit f76a83c
2 files changed
+18
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4325 | 4325 | | |
4326 | 4326 | | |
4327 | 4327 | | |
4328 | | - | |
4329 | 4328 | | |
4330 | 4329 | | |
4331 | 4330 | | |
| |||
6183 | 6182 | | |
6184 | 6183 | | |
6185 | 6184 | | |
6186 | | - | |
6187 | | - | |
6188 | 6185 | | |
6189 | 6186 | | |
6190 | 6187 | | |
| |||
6230 | 6227 | | |
6231 | 6228 | | |
6232 | 6229 | | |
| 6230 | + | |
6233 | 6231 | | |
6234 | 6232 | | |
6235 | 6233 | | |
6236 | 6234 | | |
6237 | 6235 | | |
| 6236 | + | |
6238 | 6237 | | |
6239 | 6238 | | |
6240 | 6239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
| 1355 | + | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
1359 | | - | |
| 1359 | + | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
1364 | | - | |
| 1363 | + | |
1365 | 1364 | | |
1366 | 1365 | | |
1367 | | - | |
| 1366 | + | |
1368 | 1367 | | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | 1370 | | |
1372 | | - | |
| 1371 | + | |
1373 | 1372 | | |
1374 | 1373 | | |
1375 | 1374 | | |
| |||
1386 | 1385 | | |
1387 | 1386 | | |
1388 | 1387 | | |
| 1388 | + | |
| 1389 | + | |
1389 | 1390 | | |
1390 | | - | |
| 1391 | + | |
1391 | 1392 | | |
1392 | 1393 | | |
1393 | 1394 | | |
1394 | | - | |
| 1395 | + | |
1395 | 1396 | | |
1396 | 1397 | | |
1397 | 1398 | | |
1398 | | - | |
| 1399 | + | |
1399 | 1400 | | |
1400 | 1401 | | |
1401 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
1402 | 1407 | | |
1403 | 1408 | | |
1404 | 1409 | | |
1405 | 1410 | | |
1406 | 1411 | | |
1407 | | - | |
| 1412 | + | |
1408 | 1413 | | |
1409 | 1414 | | |
1410 | 1415 | | |
| |||
1422 | 1427 | | |
1423 | 1428 | | |
1424 | 1429 | | |
1425 | | - | |
| 1430 | + | |
1426 | 1431 | | |
1427 | 1432 | | |
1428 | 1433 | | |
| |||
0 commit comments