summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-04-05 11:04:43 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-04-05 11:04:43 +0000
commit820a542d3b2d1b5f40c18e519a70783c75ea92d0 (patch)
tree5dec417a1acfe90c1f4c03e6795e3a347e5774bb /libs
parent33bef8d9af044ee47bec7b2fc9a696f8686a4f73 (diff)
parent985a1b2d7974265ef7ec57fd2a3f96089abf2d2e (diff)
Merge "Change input injection security model to require INJECT_EVENTS permission" into tm-dev
Diffstat (limited to 'libs')
-rw-r--r--libs/input/android/os/InputEventInjectionResult.aidl5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/input/android/os/InputEventInjectionResult.aidl b/libs/input/android/os/InputEventInjectionResult.aidl
index 34f10ec00e..3bc7068f3c 100644
--- a/libs/input/android/os/InputEventInjectionResult.aidl
+++ b/libs/input/android/os/InputEventInjectionResult.aidl
@@ -29,9 +29,8 @@ enum InputEventInjectionResult {
/* Injection succeeded. */
SUCCEEDED = 0,
- /* Injection failed because the injector did not have permission to inject
- * into the application with input focus. */
- PERMISSION_DENIED = 1,
+ /* Injection failed because the injected event did not target the appropriate window. */
+ TARGET_MISMATCH = 1,
/* Injection failed because there were no available input targets. */
FAILED = 2,