Merge "Attempted fix for navigation bar flicker" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bbd7dfc0a4
@@ -1864,12 +1864,7 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
+ " isSecure=" + isSecure() + " --> flags=0x" + Integer.toHexString(flags));
|
+ " isSecure=" + isSecure() + " --> flags=0x" + Integer.toHexString(flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(mContext instanceof Activity)) {
|
mStatusBarManager.disable(flags);
|
||||||
final int finalFlags = flags;
|
|
||||||
mUiOffloadThread.submit(() -> {
|
|
||||||
mStatusBarManager.disable(finalFlags);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user