Commit 60cfd0d
FODCircleView: various improvements.
Added fade-out to FOD view, before going to View.GONE
Tests executed:
- Ensured animation executes correctly
- Ensured interaction with FOD (or any other biometric method) wouldn't compromise animation execution or with FOD functionality itself
- Ensured that alpha values triggered with the animation, are correct over different lockscreen states
Handled more visibility cases
Tests executed:
- Added a Bluetooth device as Trusted Device via Smart Lock, ensured FOD wasn't visible
- Used other biometric methods to unlock the device, ensured FOD wasn't visible
- Enabled On-body detection, ensured FOD wasn't visible
- Enabled Trusted places, ensured FOD wasn't visible
- Triggered biometric failure with too many unrecognized attempts, ensured FOD wasn't visible while transitioning back and forth from AOD.
- Triggered floating biometric dialog and ensured its functionality
Change GlobalActionsDialog window type to TYPE_DISPLAY_OVERLAY (same as FOD view), so that whoever gets called last, will go on-top
Tests executed:
- On a secured lockscreen, triggered GlobalActionsDialog via power menu, ensured FOD was in foreground instead of on-top
LuK1337:
Solved a visibility edge case
Tests executed:
- On a secured lockscreen, with "double tap power button to open camera gesture" disabled, double tap the power button,
ensure FOD correct visibility
Change-Id: I8318ff0bd528af40c7b9d9ec028b88eb1d5e26741 parent 3b07778 commit 60cfd0d
2 files changed
Lines changed: 74 additions & 4 deletions
File tree
- packages/SystemUI/src/com/android/systemui
- biometrics
- globalactions
Lines changed: 73 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| 84 | + | |
82 | 85 | | |
83 | | - | |
| 86 | + | |
84 | 87 | | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
132 | 155 | | |
133 | 156 | | |
134 | 157 | | |
135 | 158 | | |
136 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
137 | 167 | | |
138 | 168 | | |
139 | 169 | | |
| |||
142 | 172 | | |
143 | 173 | | |
144 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
145 | 185 | | |
146 | 186 | | |
147 | 187 | | |
| |||
170 | 210 | | |
171 | 211 | | |
172 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
173 | 220 | | |
174 | 221 | | |
175 | 222 | | |
| |||
359 | 406 | | |
360 | 407 | | |
361 | 408 | | |
| 409 | + | |
362 | 410 | | |
363 | 411 | | |
364 | 412 | | |
| |||
395 | 443 | | |
396 | 444 | | |
397 | 445 | | |
| 446 | + | |
398 | 447 | | |
399 | 448 | | |
400 | 449 | | |
| |||
429 | 478 | | |
430 | 479 | | |
431 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
432 | 490 | | |
433 | 491 | | |
434 | | - | |
435 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
436 | 499 | | |
437 | 500 | | |
438 | 501 | | |
439 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
440 | 510 | | |
441 | 511 | | |
442 | 512 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2406 | 2406 | | |
2407 | 2407 | | |
2408 | 2408 | | |
2409 | | - | |
| 2409 | + | |
2410 | 2410 | | |
2411 | 2411 | | |
2412 | 2412 | | |
| |||
0 commit comments