diff options
Diffstat (limited to 'core/java/com')
-rw-r--r-- | core/java/com/android/internal/view/BaseIWindow.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/com/android/internal/view/BaseIWindow.java b/core/java/com/android/internal/view/BaseIWindow.java index 38ef0c2..2674262 100644 --- a/core/java/com/android/internal/view/BaseIWindow.java +++ b/core/java/com/android/internal/view/BaseIWindow.java @@ -1,6 +1,7 @@ package com.android.internal.view; import android.graphics.Rect; +import android.os.Bundle; import android.os.ParcelFileDescriptor; import android.os.RemoteException; import android.view.IWindow; @@ -101,4 +102,14 @@ public class BaseIWindow extends IWindow.Stub { } } } + + public void dispatchWallpaperCommand(String action, int x, int y, + int z, Bundle extras, boolean sync) { + if (sync) { + try { + mSession.wallpaperCommandComplete(asBinder(), null); + } catch (RemoteException e) { + } + } + } } |