Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 362da10c authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am e851cdc6: Merge change Ifd95b9f5 into eclair

Merge commit 'e851cdc6' into eclair-plus-aosp

* commit 'e851cdc6':
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
parents ebbab7dd e851cdc6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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());
                        }
                    }