diff options
author | Christopher Tate <ctate@android.com> | 2009-12-11 13:05:57 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-11 13:05:57 -0800 |
commit | dfcabffa3012bdf70a31bd07140d553a29c1afde (patch) | |
tree | a80ea3c75a656c4cff67c7c4b08144169ca8dba2 /services/java | |
parent | 3dadbf3b62738d377a2056460059ff8e59dfe555 (diff) | |
parent | 2624fbcaaa74b3a6d8d60d22d9e16ef26a98a6b2 (diff) | |
download | frameworks_base-dfcabffa3012bdf70a31bd07140d553a29c1afde.zip frameworks_base-dfcabffa3012bdf70a31bd07140d553a29c1afde.tar.gz frameworks_base-dfcabffa3012bdf70a31bd07140d553a29c1afde.tar.bz2 |
am 2624fbca: Fix #2320798: Device hang then runtime restart
Merge commit '2624fbcaaa74b3a6d8d60d22d9e16ef26a98a6b2' into eclair-plus-aosp
* commit '2624fbcaaa74b3a6d8d60d22d9e16ef26a98a6b2':
Fix #2320798: Device hang then runtime restart
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/WindowManagerService.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index f05cdc4..aab37b9 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -6011,18 +6011,18 @@ public class WindowManagerService extends IWindowManager.Stub res.offsetLocation(-win.mFrame.left, -win.mFrame.top); } } - - if (res != null && returnWhat == RETURN_PENDING_POINTER) { - synchronized (mWindowMap) { - if ((mWallpaperTarget == win && - win.mAttrs.type != WindowManager.LayoutParams.TYPE_KEYGUARD) - || mSendingPointersToWallpaper) { - sendPointerToWallpaperLocked(win, res, res.getEventTime()); - } + } + + if (res != null && returnWhat == RETURN_PENDING_POINTER) { + synchronized (mWindowMap) { + if ((mWallpaperTarget == win && + win.mAttrs.type != WindowManager.LayoutParams.TYPE_KEYGUARD) + || mSendingPointersToWallpaper) { + sendPointerToWallpaperLocked(win, res, res.getEventTime()); } } } - + return res; } |