diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java index 327cd72c81959..b87ad3225e524 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; }