DO NOT MERGE. Integrate from master: Rework display size access.
Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I47bf8b55ecd4476c25ed6482494a7bcc5fae45d2
This commit is contained in:
@@ -483,8 +483,8 @@ final class WindowState implements WindowManagerPolicy.WindowState {
|
||||
}
|
||||
|
||||
if (mIsWallpaper && (fw != frame.width() || fh != frame.height())) {
|
||||
mService.updateWallpaperOffsetLocked(this, mService.mDisplay.getWidth(),
|
||||
mService.mDisplay.getHeight(), false);
|
||||
mService.updateWallpaperOffsetLocked(this, mService.mDisplay.getRealWidth(),
|
||||
mService.mDisplay.getRealHeight(), false);
|
||||
}
|
||||
|
||||
if (WindowManagerService.localLOGV) {
|
||||
|
||||
Reference in New Issue
Block a user