Merge "Add missing Override annotation" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-03-20 06:52:32 +00:00
committed by Android (Google) Code Review

View File

@@ -3884,6 +3884,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
}
}
@Override
public boolean isAccessibilityTargetAllowed(String packageName, int uid, int userId) {
final long identity = Binder.clearCallingIdentity();
try {
@@ -3907,6 +3908,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
}
}
@Override
public boolean sendRestrictedDialogIntent(String packageName, int uid, int userId) {
// The accessibility service is allowed. Don't show the restricted dialog.
if (isAccessibilityTargetAllowed(packageName, uid, userId)) {