Fix typos in AutofillManager

Fixes: 274730335
Test: None
Change-Id: I1f94543cb21ada3068b4b107f32a0b0aa744834a
This commit is contained in:
TYM Tsai
2023-03-22 07:38:41 +00:00
parent 31369b07a1
commit f2f4820de3

View File

@@ -2230,7 +2230,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) {