summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/accessibility/ScreenMagnifier.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-10-11 12:40:54 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-10-11 12:40:58 -0700
commit0ea16037c7b6db95b3c23180bd88bdf431bf54a3 (patch)
tree212086d8bcf417b14624138e6d4b8231432816b9 /services/java/com/android/server/accessibility/ScreenMagnifier.java
parentee44fae19664594d4a17dd86723106533f4b218a (diff)
downloadframeworks_base-0ea16037c7b6db95b3c23180bd88bdf431bf54a3.zip
frameworks_base-0ea16037c7b6db95b3c23180bd88bdf431bf54a3.tar.gz
frameworks_base-0ea16037c7b6db95b3c23180bd88bdf431bf54a3.tar.bz2
Screen magnification does not auto-pan when fragment dialog pops up.
1. We auto pan when certain type of window pop up to make sure the user knows about the context change. This does not happen however for fragment dialog since its window type is not in the list of one we auto pan for. Updating the window type list. bug:7332090 Change-Id: I9b097c57df929d2e4e807a948c3a0540f4092a76
Diffstat (limited to 'services/java/com/android/server/accessibility/ScreenMagnifier.java')
-rw-r--r--services/java/com/android/server/accessibility/ScreenMagnifier.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/accessibility/ScreenMagnifier.java b/services/java/com/android/server/accessibility/ScreenMagnifier.java
index 4dee597..c8931f4 100644
--- a/services/java/com/android/server/accessibility/ScreenMagnifier.java
+++ b/services/java/com/android/server/accessibility/ScreenMagnifier.java
@@ -997,6 +997,7 @@ public final class ScreenMagnifier implements EventStreamTransformation {
// TODO: Are these all the windows we want to make
// visible when they appear on the screen?
// Do we need to take some of them out?
+ case WindowManager.LayoutParams.TYPE_APPLICATION:
case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL:
case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA:
case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL: