Fixed issue where camera wouldn't launch
keyguardIsShowing, passed to NPV#canCameraGestureBeLaunched had the wrong value because it was checking if SB was expanded visible but ignoring the fact that bouncer would make it collapse. Test: manual Fixes: 138269798 Change-Id: Id259d42cbd7802614318d8f69c80470419f3b54b Merged-In: Id259d42cbd7802614318d8f69c80470419f3b54b
This commit is contained in:
@@ -3787,7 +3787,8 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
return;
|
||||
}
|
||||
if (!mNotificationPanel.canCameraGestureBeLaunched(
|
||||
mStatusBarKeyguardViewManager.isShowing() && mExpandedVisible)) {
|
||||
mStatusBarKeyguardViewManager.isShowing()
|
||||
&& (mExpandedVisible || mBouncerShowing))) {
|
||||
if (DEBUG_CAMERA_LIFT) Slog.d(TAG, "Can't launch camera right now, mExpandedVisible: " +
|
||||
mExpandedVisible);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user