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
This commit is contained in:
Selim Cinek
2017-08-01 10:44:29 -07:00
parent 51f65bbcbf
commit 8cd80403cc

View File

@@ -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();