Merge "Attempted fix for navigation bar flicker" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-12 23:01:15 +00:00
committed by Android (Google) Code Review

View File

@@ -1864,12 +1864,7 @@ public class KeyguardViewMediator extends SystemUI {
+ " isSecure=" + isSecure() + " --> flags=0x" + Integer.toHexString(flags));
}
if (!(mContext instanceof Activity)) {
final int finalFlags = flags;
mUiOffloadThread.submit(() -> {
mStatusBarManager.disable(finalFlags);
});
}
mStatusBarManager.disable(flags);
}
}