Merge "Use USER_LIFECYCLE_EVENT_TYPE_SWITCHING to detect user switched event." into rvc-dev am: e5eb16d8a8
Change-Id: I7431f9edefb9bfc08cadddd16184fba6ebc4e626
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