diff options
| author | 2024-01-30 18:56:34 +0000 | |
|---|---|---|
| committer | 2024-01-31 16:25:39 +0000 | |
| commit | 54782caad16bbd1d28bfa904b11d0d1220e58355 (patch) | |
| tree | 738df625c97277afcab320cef165dc53e7f84f02 /api/api.go | |
| parent | 14f93277af54b01dce231801c15ff090c33c6869 (diff) | |
Add device entry icon support for GONE => LS
The keyguard transition from gone to lockscreen
can happen if the user manually locks down the device.
Add support for this transition to the device entry icon.
Also simplifies `deviceEntryBackgroundViewAlpha` logic.
Each TransitionViewModel doesn't need to check whether
Udfps is supported. Instead, the visibility of the
deviceEntryViewBackground is controlled by the viewBinder
and viewModel.
Test: atest DreamingToLockscreenTransitionViewModelTest AodToLockscreenTransitionViewModelTest
Test: manually enroll UDFPS and then lockdown device from
global actions menu. Observe lock icon on the lockscreen.
Fixes: 323013069
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Change-Id: Id63f9aae68a2f3c35310790b9a5c038aeca624a4
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions