summaryrefslogtreecommitdiffstats
path: root/core/java/android/service
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-08-06 16:40:27 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-08-06 23:49:38 -0700
commit758143ecfedbe08cc6c4fed0ad8ad7a854194ca4 (patch)
treec7102e7f3b5f71180cb23d1a13c01158f558feb6 /core/java/android/service
parent4cb3384772cf7015a4e05789470123efb07219d9 (diff)
downloadframeworks_base-758143ecfedbe08cc6c4fed0ad8ad7a854194ca4.zip
frameworks_base-758143ecfedbe08cc6c4fed0ad8ad7a854194ca4.tar.gz
frameworks_base-758143ecfedbe08cc6c4fed0ad8ad7a854194ca4.tar.bz2
Window position not reported if the window is not moved.
1.If a window is shown but never moved the window window is never notified for its current location. Therefore, accessibility nodes do not contain correct bounds in screen coordinates. bug:6926295 Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
Diffstat (limited to 'core/java/android/service')
-rw-r--r--core/java/android/service/wallpaper/WallpaperService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/service/wallpaper/WallpaperService.java b/core/java/android/service/wallpaper/WallpaperService.java
index 6f45ca7..b513915 100644
--- a/core/java/android/service/wallpaper/WallpaperService.java
+++ b/core/java/android/service/wallpaper/WallpaperService.java
@@ -255,7 +255,7 @@ public abstract class WallpaperService extends Service {
final BaseIWindow mWindow = new BaseIWindow() {
@Override
- public void resized(int w, int h, Rect contentInsets,
+ public void resized(Rect frame, Rect contentInsets,
Rect visibleInsets, boolean reportDraw, Configuration newConfig) {
Message msg = mCaller.obtainMessageI(MSG_WINDOW_RESIZED,
reportDraw ? 1 : 0);