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

This commit is contained in:
Svetoslav Ganov
2012-09-21 18:26:52 -07:00
committed by Android (Google) Code Review

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