Merge "Fix issue #3415137: New wallpaper size breaks thumbnails." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
0035b5cad1
@ -5101,6 +5101,9 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
}
|
}
|
||||||
Binder.restoreCallingIdentity(ident);
|
Binder.restoreCallingIdentity(ident);
|
||||||
|
|
||||||
|
// Constrain frame to the screen size.
|
||||||
|
frame.intersect(0, 0, dw, dh);
|
||||||
|
|
||||||
if (frame.isEmpty() || maxLayer == 0) {
|
if (frame.isEmpty() || maxLayer == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user