diff options
| -rw-r--r-- | services/java/com/android/server/WindowManagerService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index 327cd72c8195..b87ad3225e52 100644 --- a/services/java/com/android/server/WindowManagerService.java +++ b/services/java/com/android/server/WindowManagerService.java @@ -5285,7 +5285,7 @@ public class WindowManagerService extends IWindowManager.Stub 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 @@ public class WindowManagerService extends IWindowManager.Stub 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 @@ public class WindowManagerService extends IWindowManager.Stub 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; } |