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

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

am d04244d4: am 7fa498bf: Merge "Disable the camera and search buttons while...

am d04244d4: am 7fa498bf: Merge "Disable the camera and search buttons while we\'re in bouncer mode." into klp-dev

* commit 'd04244d4':
  Disable the camera and search buttons while we're in bouncer mode.
parents 9d325d33 d04244d4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -487,6 +487,7 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
    @Override
    public void showBouncer() {
        if (mIsBouncing) return;
        setSystemUiVisibility(getSystemUiVisibility() | STATUS_BAR_DISABLE_SEARCH);
        mWasChallengeShowing = mChallengeShowing;
        mIsBouncing = true;
        showChallenge(true);
@@ -513,6 +514,7 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
    @Override
    public void hideBouncer() {
        if (!mIsBouncing) return;
        setSystemUiVisibility(getSystemUiVisibility() & ~STATUS_BAR_DISABLE_SEARCH);
        if (!mWasChallengeShowing) showChallenge(false);
        mIsBouncing = false;