Merge "Fixing a regression in the UI test automation." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9f12373b57
@@ -2123,7 +2123,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
|
||||
if (OWN_PROCESS_ID == Binder.getCallingPid()) {
|
||||
return;
|
||||
}
|
||||
if (hasPermission(permission)) {
|
||||
if (!hasPermission(permission)) {
|
||||
throw new SecurityException("You do not have " + permission
|
||||
+ " required to call " + function);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user