Merge "Use USER_LIFECYCLE_EVENT_TYPE_SWITCHING to detect user switched event." into rvc-dev am: e5eb16d8a8 am: 3feb3fc5e2
Change-Id: I381089fa23ea9d5f1938b68963d65c1c92260c5a
This commit is contained in:
@@ -92,7 +92,7 @@ public class CarKeyguardViewController extends OverlayViewController implements
|
||||
}
|
||||
};
|
||||
private final CarUserManager.UserLifecycleListener mUserLifecycleListener = (e) -> {
|
||||
if (e.getEventType() == CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED) {
|
||||
if (e.getEventType() == CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING) {
|
||||
revealKeyguardIfBouncerPrepared();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user