diff options
| author | 2024-11-21 01:20:54 +0000 | |
|---|---|---|
| committer | 2024-11-26 16:27:46 -0800 | |
| commit | d001734893a9d12518e21b9ab74774733ebd8bf8 (patch) | |
| tree | 9af1380f6c14948f7ef875d1f3844f1f8fbf2b0c /libs/input/PointerController.cpp | |
| parent | 09e4858b01e7818c5e5462c8a9ac5b3e4300390e (diff) | |
Move displayId out of KeyguardState Transition object.
Since SystemUI/Shell can't access certain displays (e.g. private ones),
we won't be able to have shell choose which displays to send keyguard
state to - it will have to be delegated to Core which will choose to
send to all displays. Becuase of this, we will also change the call to
ATMS#setLockscreenShown instead, which already does the display
iteration for us.
This also changes the effect to EFFECT_LIFECYCLE, since
ATMS#setLockscreenShown potentially affects that (it does ensure
visibilty checks).
Test: atest
android.server.wm.multidisplay.MultiDisplayLockedKeyguardTests#testPrivateDisplayHideContentWhenLocked
Bug: 364930619
Flag: com.android.window.flags.ensure_keyguard_does_transition_starting
Change-Id: Ia367607c727c4fc8b9d2b636ecf54e86a84702fa
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions