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

Commit d76cee2b authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 3408834 - actionbar stays gone when leaving reader in

lightsout mode

Fix an opportunity for race conditions when the action bar is
shown/hidden rapidly.

Change-Id: I91c0666cad3afd8a4d870d642f971949fba0d333
parent cb9d4d28
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -480,12 +480,12 @@ public class ActionBarImpl extends ActionBar {

    @Override
    public void show() {
        if (mContainerView.getVisibility() == View.VISIBLE) {
            return;
        }
        if (mCurrentAnim != null) {
            mCurrentAnim.end();
        }
        if (mContainerView.getVisibility() == View.VISIBLE) {
            return;
        }
        mContainerView.setVisibility(View.VISIBLE);
        mContainerView.setAlpha(0);
        AnimatorSet anim = new AnimatorSet();