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

Commit 8cd80403 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed an issue where the statusbar was expanded

Since we weren't always updating our state whether
our scrims are visible, we could get stuck in an
uninteractable state.

Test: manual, doubletap on AOD notification
Change-Id: I48eca4f29775578382098cf8be876be09ba037a9
Fixes: 64216359
parent 51f65bbc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -500,6 +500,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
        } else {
            scrim.setAlpha(alpha1);
        }
        dispatchScrimsVisible();
    }

    private void startScrimAnimation(final View scrim, float target) {
@@ -532,6 +533,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
                }
                scrim.setTag(TAG_KEY_ANIM, null);
                scrim.setTag(TAG_KEY_ANIM_TARGET, null);
                dispatchScrimsVisible();
            }
        });
        anim.start();