Skip to content

Commit 0ea1603

Browse files
committed
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
1 parent ee44fae commit 0ea1603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/java/com/android/server/accessibility/ScreenMagnifier.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ private void handleOnWindowTransition(int transition, WindowInfo info) {
997997
// TODO: Are these all the windows we want to make
998998
// visible when they appear on the screen?
999999
// Do we need to take some of them out?
1000+
case WindowManager.LayoutParams.TYPE_APPLICATION:
10001001
case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL:
10011002
case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA:
10021003
case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL:

0 commit comments

Comments
 (0)