summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2017-08-01 10:44:29 -0700
committer Selim Cinek <cinek@google.com> 2017-08-01 10:44:29 -0700
commit8cd80403cce36ef5d63c09505376e261e05da8e2 (patch)
tree6859973ed041ff2b940712f5b889464879583ed4
parent51f65bbcbff5f2d42df632114b6e8e9e3af10cb3 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
index eabf07bcbbd6..72746858ef89 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
@@ -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();