Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -173,7 +173,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { private void applyInputFeatures(State state) { private void applyInputFeatures(State state) { if (state.isKeyguardShowingAndNotOccluded() if (state.isKeyguardShowingAndNotOccluded() && state.statusBarState == StatusBarState.KEYGUARD && state.statusBarState == StatusBarState.KEYGUARD && !state.qsExpanded) { && !state.qsExpanded && !state.forceUserActivity) { mLpChanged.inputFeatures |= mLpChanged.inputFeatures |= WindowManager.LayoutParams.INPUT_FEATURE_DISABLE_USER_ACTIVITY; WindowManager.LayoutParams.INPUT_FEATURE_DISABLE_USER_ACTIVITY; } else { } else { Loading Loading @@ -265,6 +265,11 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { apply(mCurrentState); apply(mCurrentState); } } public void setForceUserActivity(boolean forceUserActivity) { mCurrentState.forceUserActivity = forceUserActivity; apply(mCurrentState); } public void setHeadsUpShowing(boolean showing) { public void setHeadsUpShowing(boolean showing) { mCurrentState.headsUpShowing = showing; mCurrentState.headsUpShowing = showing; apply(mCurrentState); apply(mCurrentState); Loading Loading @@ -332,6 +337,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { boolean forceStatusBarVisible; boolean forceStatusBarVisible; boolean forceCollapsed; boolean forceCollapsed; boolean forceDozeBrightness; boolean forceDozeBrightness; boolean forceUserActivity; /** /** * The {@link BaseStatusBar} state from the status bar. * The {@link BaseStatusBar} state from the status bar. Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -173,7 +173,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { private void applyInputFeatures(State state) { private void applyInputFeatures(State state) { if (state.isKeyguardShowingAndNotOccluded() if (state.isKeyguardShowingAndNotOccluded() && state.statusBarState == StatusBarState.KEYGUARD && state.statusBarState == StatusBarState.KEYGUARD && !state.qsExpanded) { && !state.qsExpanded && !state.forceUserActivity) { mLpChanged.inputFeatures |= mLpChanged.inputFeatures |= WindowManager.LayoutParams.INPUT_FEATURE_DISABLE_USER_ACTIVITY; WindowManager.LayoutParams.INPUT_FEATURE_DISABLE_USER_ACTIVITY; } else { } else { Loading Loading @@ -265,6 +265,11 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { apply(mCurrentState); apply(mCurrentState); } } public void setForceUserActivity(boolean forceUserActivity) { mCurrentState.forceUserActivity = forceUserActivity; apply(mCurrentState); } public void setHeadsUpShowing(boolean showing) { public void setHeadsUpShowing(boolean showing) { mCurrentState.headsUpShowing = showing; mCurrentState.headsUpShowing = showing; apply(mCurrentState); apply(mCurrentState); Loading Loading @@ -332,6 +337,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback { boolean forceStatusBarVisible; boolean forceStatusBarVisible; boolean forceCollapsed; boolean forceCollapsed; boolean forceDozeBrightness; boolean forceDozeBrightness; boolean forceUserActivity; /** /** * The {@link BaseStatusBar} state from the status bar. * The {@link BaseStatusBar} state from the status bar. Loading