am e851cdc6: Merge change Ifd95b9f5 into eclair
Merge commit 'e851cdc6c48c977d05096847001a0601d892fd55' into eclair-mr2 * commit 'e851cdc6c48c977d05096847001a0601d892fd55': Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
This commit is contained in:
@@ -6012,7 +6012,9 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
|
|
||||||
if (res != null && returnWhat == RETURN_PENDING_POINTER) {
|
if (res != null && returnWhat == RETURN_PENDING_POINTER) {
|
||||||
synchronized (mWindowMap) {
|
synchronized (mWindowMap) {
|
||||||
if (mWallpaperTarget == win || mSendingPointersToWallpaper) {
|
if ((mWallpaperTarget == win &&
|
||||||
|
win.mAttrs.type != WindowManager.LayoutParams.TYPE_KEYGUARD)
|
||||||
|
|| mSendingPointersToWallpaper) {
|
||||||
sendPointerToWallpaperLocked(win, res, res.getEventTime());
|
sendPointerToWallpaperLocked(win, res, res.getEventTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user