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

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

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

* commit '961d2f46':
  Disable camera and search from some security screens.
parents 1bdbdfbe 961d2f46
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);
        }