Merge "Prevent wrong system ui visibility callback after the user swipe"

This commit is contained in:
Olawale Ogunwale
2014-12-17 21:43:25 +00:00
committed by Gerrit Code Review

View File

@@ -5797,6 +5797,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (denyTransientStatus || denyTransientNav) {
// clear the clearable flags instead
clearClearableFlagsLw();
vis &= ~View.SYSTEM_UI_CLEARABLE_FLAGS;
}
vis = mStatusBarController.updateVisibilityLw(transientStatusBarAllowed, oldVis, vis);