am 9f12373b: Merge "Fixing a regression in the UI test automation." into jb-mr1-dev

* commit '9f12373b57bcd7e7c156306aee50ac4e4fdee58a':
  Fixing a regression in the UI test automation.
This commit is contained in:
Svetoslav Ganov
2012-09-24 09:27:17 -07:00
committed by Android Git Automerger

View File

@@ -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);
}