Commit 52a3055
Fix NullPointerException in ListView
There is a NullPointerException in `handleHorizontalFocusWithinListItem()`
because `selectedView.findFocus()` returns null and then there is no null
check when when the assigned variable `currentFocus` is used, although
`View.findFocus()` states that it may return null.
Change-Id: I6897027e9a2a238d9283e6b9f5146198989fcac01 parent fdd1ae2 commit 52a3055
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2385 | 2385 | | |
2386 | 2386 | | |
2387 | 2387 | | |
2388 | | - | |
2389 | | - | |
2390 | | - | |
2391 | | - | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
2392 | 2397 | | |
2393 | 2398 | | |
2394 | 2399 | | |
| |||
2521 | 2526 | | |
2522 | 2527 | | |
2523 | 2528 | | |
2524 | | - | |
2525 | | - | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
2526 | 2533 | | |
2527 | 2534 | | |
2528 | 2535 | | |
| |||
0 commit comments