Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66b102b6 authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

am c2cbd158: am c4c52ccb: am 961d2f46: Merge "Disable camera and search from...

am c2cbd158: am c4c52ccb: am 961d2f46: Merge "Disable camera and search from some security screens." into klp-dev

* commit 'c2cbd158':
  Disable camera and search from some security screens.
parents 516f953a c2cbd158
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -972,6 +972,11 @@ public class KeyguardHostView extends KeyguardViewBase {
        mAppWidgetContainer.setVisibility(
                isSimOrAccount && fullScreenEnabled ? View.GONE : View.VISIBLE);

        // Don't show camera or search in navbar when SIM or Account screen is showing
        setSystemUiVisibility(isSimOrAccount ?
                (getSystemUiVisibility() | View.STATUS_BAR_DISABLE_SEARCH)
                : (getSystemUiVisibility() & ~View.STATUS_BAR_DISABLE_SEARCH));

        if (mSlidingChallengeLayout != null) {
            mSlidingChallengeLayout.setChallengeInteractive(!fullScreenEnabled);
        }