summaryrefslogtreecommitdiffstats
path: root/policy/src
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-10-23 23:17:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-23 23:17:21 +0000
commitbd6fabe2ae535cf5d31fc7a1952e43ad6e653e2e (patch)
tree086532257ec25a3c7e3329fb2d9d2146bb15f5ca /policy/src
parent9920a0dcf15ba2036cdcc5d6548efa6b4a8bc944 (diff)
parent3a5c721072c60c7ed9c8a95d0a65d0e3cb4eb9bb (diff)
downloadframeworks_base-bd6fabe2ae535cf5d31fc7a1952e43ad6e653e2e.zip
frameworks_base-bd6fabe2ae535cf5d31fc7a1952e43ad6e653e2e.tar.gz
frameworks_base-bd6fabe2ae535cf5d31fc7a1952e43ad6e653e2e.tar.bz2
Merge "APIs for an accessibility service to put interaction tracking overlays." into lmp-mr1-dev
Diffstat (limited to 'policy/src')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index e184577..558cf56 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1431,6 +1431,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
case TYPE_WALLPAPER:
case TYPE_PRIVATE_PRESENTATION:
case TYPE_VOICE_INTERACTION:
+ case TYPE_ACCESSIBILITY_OVERLAY:
// The window manager will check these.
break;
case TYPE_PHONE:
@@ -1660,15 +1661,18 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// the drag layer: input for drag-and-drop is associated with this window,
// which sits above all other focusable windows
return 25;
- case TYPE_SECURE_SYSTEM_OVERLAY:
+ case TYPE_ACCESSIBILITY_OVERLAY:
+ // overlay put by accessibility services to intercept user interaction
return 26;
- case TYPE_BOOT_PROGRESS:
+ case TYPE_SECURE_SYSTEM_OVERLAY:
return 27;
+ case TYPE_BOOT_PROGRESS:
+ return 28;
case TYPE_POINTER:
// the (mouse) pointer layer
- return 28;
- case TYPE_HIDDEN_NAV_CONSUMER:
return 29;
+ case TYPE_HIDDEN_NAV_CONSUMER:
+ return 30;
}
Log.e(TAG, "Unknown window type: " + type);
return 2;
@@ -1972,7 +1976,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
mKeyguardScrim = win;
break;
-
}
return WindowManagerGlobal.ADD_OKAY;
}