diff options
| author | 2015-09-15 22:29:41 +0000 | |
|---|---|---|
| committer | 2015-09-15 22:29:41 +0000 | |
| commit | b96e4b1ad1626cc1d115ffbedf10a5897689c8d7 (patch) | |
| tree | 3800b39ea7251c292e387f55a367fde61fc9d694 | |
| parent | b16e74693ef29b20e2d4327ff6ddec49eafd2873 (diff) | |
| parent | 8a4160275d5b90fd1576f85184e0e4da9a98b45c (diff) | |
am 8a416027: am 8d5f358d: am 41e13b0a: Update circular mask after display is ready.
* commit '8a4160275d5b90fd1576f85184e0e4da9a98b45c':
Update circular mask after display is ready.
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowManagerService.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowManagerService.java b/services/core/java/com/android/server/wm/WindowManagerService.java index 8719ddb8186c..386a28f48f9e 100644 --- a/services/core/java/com/android/server/wm/WindowManagerService.java +++ b/services/core/java/com/android/server/wm/WindowManagerService.java @@ -907,7 +907,6 @@ public class WindowManagerService extends IWindowManager.Stub SurfaceControl.closeTransaction(); } - updateCircularDisplayMaskIfNeeded(); showEmulatorDisplayOverlayIfNeeded(); } @@ -5307,7 +5306,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( @@ -7099,6 +7098,8 @@ public class WindowManagerService extends IWindowManager.Stub mActivityManager.updateConfiguration(null); } catch (RemoteException e) { } + + updateCircularDisplayMaskIfNeeded(); } private void displayReady(int displayId) { |