Merge "Fix typos in AutofillManager" into udc-dev

This commit is contained in:
TYM Tsai
2023-03-27 06:00:59 +00:00
committed by Android (Google) Code Review

View File

@@ -2246,7 +2246,7 @@ public final class AutofillManager {
@NonNull AutofillRequestCallback callback) {
if (mContext.checkSelfPermission(PROVIDE_OWN_AUTOFILL_SUGGESTIONS)
!= PackageManager.PERMISSION_GRANTED) {
throw new SecurityException("Requires USE_APP_AUTOFILL permission!");
throw new SecurityException("Requires PROVIDE_OWN_AUTOFILL_SUGGESTIONS permission!");
}
synchronized (mLock) {