Merge "These changes add access to some status values in widgets listed below:"
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index 327cd72..b87ad32 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -5285,7 +5285,7 @@
switch (result) {
case INJECT_NO_PERMISSION:
throw new SecurityException(
- "Injecting to another application requires INJECT_EVENT permission");
+ "Injecting to another application requires INJECT_EVENTS permission");
case INJECT_SUCCEEDED:
return true;
}
@@ -5313,7 +5313,7 @@
switch (result) {
case INJECT_NO_PERMISSION:
throw new SecurityException(
- "Injecting to another application requires INJECT_EVENT permission");
+ "Injecting to another application requires INJECT_EVENTS permission");
case INJECT_SUCCEEDED:
return true;
}
@@ -5341,7 +5341,7 @@
switch (result) {
case INJECT_NO_PERMISSION:
throw new SecurityException(
- "Injecting to another application requires INJECT_EVENT permission");
+ "Injecting to another application requires INJECT_EVENTS permission");
case INJECT_SUCCEEDED:
return true;
}