summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2013-11-04 10:07:24 +0800
committerSteve Kondik <shade@chemlab.org>2013-11-28 20:29:56 -0800
commitaba92e3cf9095587a2c8c342e4e47b7715dbb765 (patch)
tree48e3a1fa297e11c21b26e98ea189603bd937e216
parente1786620768827fa5d2474d2c4f5f0a0d104a154 (diff)
downloadandroid_frameworks_base-cm-10.2.0.tar.gz
android_frameworks_base-cm-10.2.0.tar.bz2
android_frameworks_base-cm-10.2.0.zip
WMS: fix no thumbnail image of Gallery in the recent tasks list.cm-10.2.0
When it takes the screenshot of an application, it will calculate the minLayer and maxLayer first, and if a window is full screen, it won't deal with the windows below it. However, the surfaceview is placed below a window but will be displayed at front, this make the surface view can not be included when take the screenshot of an application, then it diaplays a black area in the recent tasks list. If the currect window is full screen, no need to finish the calculation. CR-Fixed:566752 Change-Id: Iaf3e9a3e6520007571ea545ccc9c05d4b1b416fd
-rw-r--r--services/java/com/android/server/wm/WindowManagerService.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/services/java/com/android/server/wm/WindowManagerService.java b/services/java/com/android/server/wm/WindowManagerService.java
index 9840418680c..2124c5974d8 100644
--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -5442,11 +5442,6 @@ public class WindowManagerService extends IWindowManager.Stub
ws.isDisplayedLw()) {
screenshotReady = true;
}
-
- if (fullscreen) {
- // No point in continuing down through windows.
- break;
- }
}
if (appToken != null && appWin == null) {