diff options
| author | 2009-12-08 18:40:37 -0800 | |
|---|---|---|
| committer | 2009-12-08 18:40:37 -0800 | |
| commit | e851cdc6c48c977d05096847001a0601d892fd55 (patch) | |
| tree | 97d7454f3a3a2fbda7a157f15b780679d697578e | |
| parent | 68b15b68497e373fe63a13f11e18349a738a7989 (diff) | |
| parent | 00c1fc97c17950335c65c93d010c6107a129607f (diff) | |
Merge change Ifd95b9f5 into eclair
* changes:
Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
| -rw-r--r-- | services/java/com/android/server/WindowManagerService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index 44c9f0f7544b..cd74522f339a 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -6014,7 +6014,9 @@ public class WindowManagerService extends IWindowManager.Stub if (res != null && returnWhat == RETURN_PENDING_POINTER) { synchronized (mWindowMap) { - if (mWallpaperTarget == win || mSendingPointersToWallpaper) { + if ((mWallpaperTarget == win && + win.mAttrs.type != WindowManager.LayoutParams.TYPE_KEYGUARD) + || mSendingPointersToWallpaper) { sendPointerToWallpaperLocked(win, res, res.getEventTime()); } } |