diff options
Diffstat (limited to 'services/core/java/com/android/server/wm/Session.java')
-rw-r--r-- | services/core/java/com/android/server/wm/Session.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/wm/Session.java b/services/core/java/com/android/server/wm/Session.java index a8ba0f9..f0793b8 100644 --- a/services/core/java/com/android/server/wm/Session.java +++ b/services/core/java/com/android/server/wm/Session.java @@ -429,6 +429,34 @@ final class Session extends IWindowSession.Stub } } + /** + * @hide + */ + public int getLastWallpaperX() { + synchronized(mService.mWindowMap) { + long ident = Binder.clearCallingIdentity(); + try { + return mService.getLastWallpaperX(); + } finally { + Binder.restoreCallingIdentity(ident); + } + } + } + + /** + * @hide + */ + public int getLastWallpaperY() { + synchronized(mService.mWindowMap) { + long ident = Binder.clearCallingIdentity(); + try { + return mService.getLastWallpaperY(); + } finally { + Binder.restoreCallingIdentity(ident); + } + } + } + public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) { synchronized(mService.mWindowMap) { |