am 1e90ab54: merge from open-source master
Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587' * commit '1e90ab542d675616e9370ab7e5add99d7af12587': Fixs the incorrect message for SecurityException Default RotateDrawable's pivot set to (50%, 50%)
This commit is contained in:
committed by
Android Git Automerger
commit
3941411a21
@@ -5355,7 +5355,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;
|
||||
}
|
||||
@@ -5383,7 +5383,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;
|
||||
}
|
||||
@@ -5411,7 +5411,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user