Commit 57cadf2
committed
Fixing broken clear focus behavior.
1. In a prevous patch I fixed the issues when on clearing
focus of the first focusable view the callback for
gaining focus were called before the ones for losing
focus. Since it cause some issues the patch was reverted
and resubmitted. In this chaos some code was missed so
tests are failing. Added the missing logic to give focus
to the first focusable in the current touch mode when
a view loses focus.
2. Removed clear focusForRemoval methid since it is a dup
of unFocus();
Note: All focus tests now pass.
Change-Id: I06881d4b5a66fc5a33efca16a96f20207a7220d31 parent 75cf9e1 commit 57cadf2
2 files changed
+22
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4032 | 4032 | | |
4033 | 4033 | | |
4034 | 4034 | | |
4035 | | - | |
4036 | | - | |
| 4035 | + | |
| 4036 | + | |
| 4037 | + | |
4037 | 4038 | | |
4038 | 4039 | | |
4039 | 4040 | | |
| |||
4050 | 4051 | | |
4051 | 4052 | | |
4052 | 4053 | | |
| 4054 | + | |
| 4055 | + | |
4053 | 4056 | | |
4054 | 4057 | | |
4055 | 4058 | | |
4056 | | - | |
4057 | | - | |
4058 | | - | |
4059 | | - | |
4060 | | - | |
4061 | | - | |
4062 | | - | |
4063 | | - | |
4064 | | - | |
4065 | | - | |
4066 | | - | |
4067 | | - | |
4068 | | - | |
4069 | | - | |
4070 | | - | |
4071 | | - | |
| 4059 | + | |
| 4060 | + | |
| 4061 | + | |
| 4062 | + | |
| 4063 | + | |
| 4064 | + | |
| 4065 | + | |
| 4066 | + | |
| 4067 | + | |
| 4068 | + | |
| 4069 | + | |
4072 | 4070 | | |
4073 | 4071 | | |
4074 | 4072 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3375 | 3375 | | |
3376 | 3376 | | |
3377 | 3377 | | |
3378 | | - | |
| 3378 | + | |
3379 | 3379 | | |
3380 | 3380 | | |
3381 | 3381 | | |
| |||
3398 | 3398 | | |
3399 | 3399 | | |
3400 | 3400 | | |
| 3401 | + | |
3401 | 3402 | | |
3402 | 3403 | | |
3403 | 3404 | | |
| |||
3450 | 3451 | | |
3451 | 3452 | | |
3452 | 3453 | | |
3453 | | - | |
| 3454 | + | |
3454 | 3455 | | |
3455 | 3456 | | |
3456 | 3457 | | |
| |||
3474 | 3475 | | |
3475 | 3476 | | |
3476 | 3477 | | |
| 3478 | + | |
3477 | 3479 | | |
3478 | 3480 | | |
3479 | 3481 | | |
| |||
3519 | 3521 | | |
3520 | 3522 | | |
3521 | 3523 | | |
3522 | | - | |
| 3524 | + | |
3523 | 3525 | | |
3524 | 3526 | | |
3525 | 3527 | | |
| |||
3542 | 3544 | | |
3543 | 3545 | | |
3544 | 3546 | | |
| 3547 | + | |
3545 | 3548 | | |
3546 | 3549 | | |
3547 | 3550 | | |
| |||
0 commit comments