Remove flag for keyguard remote animations [1/n]
Prepare for the removal. Changed meaning of the parameters of handleStartTransitionForKeyguardLw() They used to indicate if KEYGUARD_GOING_AWAY or (UN)OCCLUDE) transition has just started. With this change, the arguments now specify if the WindowManager immediately calls the old IKeyguardService API. The argument "force" in PhoneWindowManager#setKeyguardOccludedLw() is always false, so removed the argument. onAppTransitionCancelledLocked() override in PhoneWindowManager always triggered IKeyguardService#setOcclud, but we only need to trigger it when (UN)OCCLUDE transition is canceled. Bug: 242833285 Test: Pass existing tests. Change-Id: I2f672fb6d13c99b68c20293d837f76d478fce4f9
Loading
Please register or sign in to comment