Send live wallpaper taps.

Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
This commit is contained in:
Jeff Brown
2010-12-02 18:27:39 -08:00
parent 16fddef875
commit 1d0867c8de
3 changed files with 27 additions and 6 deletions
+2 -1
View File
@@ -796,7 +796,8 @@ public class CellLayout extends ViewGroup implements Dimmable {
final int[] cellXY = mTmpCellXY;
getLocationOnScreen(cellXY);
mWallpaperManager.sendWallpaperCommand(getWindowToken(), "android.home.drop",
mWallpaperManager.sendWallpaperCommand(getWindowToken(),
WallpaperManager.COMMAND_DROP,
cellXY[0] + childLeft + lp.width / 2,
cellXY[1] + childTop + lp.height / 2, 0, null);