Merge "Keyguard: Reapply insets when fitsSystemWindow changes" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5e0a42848e
@@ -168,7 +168,11 @@ public class StatusBarWindowManager implements RemoteInputController.Callback {
|
||||
}
|
||||
|
||||
private void applyFitsSystemWindows(State state) {
|
||||
mStatusBarView.setFitsSystemWindows(!state.isKeyguardShowingAndNotOccluded());
|
||||
boolean fitsSystemWindows = !state.isKeyguardShowingAndNotOccluded();
|
||||
if (mStatusBarView.getFitsSystemWindows() != fitsSystemWindows) {
|
||||
mStatusBarView.setFitsSystemWindows(fitsSystemWindows);
|
||||
mStatusBarView.requestApplyInsets();
|
||||
}
|
||||
}
|
||||
|
||||
private void applyUserActivityTimeout(State state) {
|
||||
|
||||
Reference in New Issue
Block a user