am 41e13b0a: Update circular mask after display is ready.
* commit '41e13b0a68e49648d2f58738880bc3d6f93201cf': Update circular mask after display is ready.
This commit is contained in:
@@ -996,7 +996,6 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
SurfaceControl.closeTransaction();
|
||||
}
|
||||
|
||||
updateCircularDisplayMaskIfNeeded();
|
||||
showEmulatorDisplayOverlayIfNeeded();
|
||||
}
|
||||
|
||||
@@ -5948,7 +5947,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
}
|
||||
}
|
||||
|
||||
public void updateCircularDisplayMaskIfNeeded() {
|
||||
private void updateCircularDisplayMaskIfNeeded() {
|
||||
// we're fullscreen and not hosted in an ActivityView
|
||||
if (mContext.getResources().getConfiguration().isScreenRound()
|
||||
&& mContext.getResources().getBoolean(
|
||||
@@ -7664,6 +7663,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
mActivityManager.updateConfiguration(null);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
|
||||
updateCircularDisplayMaskIfNeeded();
|
||||
}
|
||||
|
||||
private void displayReady(int displayId) {
|
||||
|
||||
Reference in New Issue
Block a user