summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-10-15 15:09:02 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-10-16 11:11:39 -0700
commit55468c64bc4f3c4b16bf144f66907d75bb656b0a (patch)
tree0977cd195ff4c83b385c5e4973f2586fba1013c6 /core/java
parent7789c9bbfca079655e9285173d6175b94bc774b0 (diff)
downloadframeworks_base-55468c64bc4f3c4b16bf144f66907d75bb656b0a.zip
frameworks_base-55468c64bc4f3c4b16bf144f66907d75bb656b0a.tar.gz
frameworks_base-55468c64bc4f3c4b16bf144f66907d75bb656b0a.tar.bz2
Occasionally triple tap on the keyboard toggles screen magnification.
1. Sometimes unlocking the device when the IME is up and triple tapping on the keyboard toggles screen magnification. The core reason is that when the kayguard window is shown we hide all other windows and when it is hidden we show these windows. We did not notify the screen magnifier for windows being shown and hidden. Also when the windows are shown we may reassign layers to put the IME or the wallpaper in the right Z order. The screen magnifier is now notified upon such layer reassignment since window layers are used when computing the magnified region. bug:7351531 Change-Id: I0931f4ba6cfa565d8eb1e3c432268ba1818feea6
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/IDisplayContentChangeListener.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/view/IDisplayContentChangeListener.aidl b/core/java/android/view/IDisplayContentChangeListener.aidl
index 8f23ff6..ef7edea 100644
--- a/core/java/android/view/IDisplayContentChangeListener.aidl
+++ b/core/java/android/view/IDisplayContentChangeListener.aidl
@@ -28,5 +28,6 @@ import android.graphics.Rect;
oneway interface IDisplayContentChangeListener {
void onWindowTransition(int displayId, int transition, in WindowInfo info);
void onRectangleOnScreenRequested(int displayId, in Rect rectangle, boolean immediate);
+ void onWindowLayersChanged(int displayId);
void onRotationChanged(int rotation);
}