diff options
author | Nathan Harold <nharold@google.com> | 2021-04-06 11:24:43 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2021-04-07 00:34:44 +0000 |
commit | 41105e5721186601195e4cc797f4913c3fccd916 (patch) | |
tree | a4728d1c6dfea3b2b39cbf36cb4f52aa63ccd123 /telephony/common | |
parent | b1f4cb5b8332100ae9b4b0d57c07f0cbd3d1656f (diff) |
s/enforece/enforce/
Because.
Bug: 157768478
Test: compilation
Change-Id: I8559564a5a68fee4ed8b0543cc91ea3ca7dc36ee
Diffstat (limited to 'telephony/common')
-rw-r--r-- | telephony/common/com/android/internal/telephony/TelephonyPermissions.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telephony/common/com/android/internal/telephony/TelephonyPermissions.java b/telephony/common/com/android/internal/telephony/TelephonyPermissions.java index 5e50bea05057..d250297e6f64 100644 --- a/telephony/common/com/android/internal/telephony/TelephonyPermissions.java +++ b/telephony/common/com/android/internal/telephony/TelephonyPermissions.java @@ -571,7 +571,7 @@ public final class TelephonyPermissions { * * @throws SecurityException if the caller does not have the required permission/privileges */ - public static void enforeceCallingOrSelfReadPhoneStatePermissionOrCarrierPrivilege( + public static void enforceCallingOrSelfReadPhoneStatePermissionOrCarrierPrivilege( Context context, int subId, String message) { if (context.checkCallingOrSelfPermission(android.Manifest.permission.READ_PHONE_STATE) == PERMISSION_GRANTED) { @@ -591,7 +591,7 @@ public final class TelephonyPermissions { * * @throws SecurityException if the caller does not have the required permission/privileges */ - public static void enforeceCallingOrSelfReadPrivilegedPhoneStatePermissionOrCarrierPrivilege( + public static void enforceCallingOrSelfReadPrivilegedPhoneStatePermissionOrCarrierPrivilege( Context context, int subId, String message) { if (context.checkCallingOrSelfPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) == PERMISSION_GRANTED) { @@ -613,7 +613,7 @@ public final class TelephonyPermissions { * * @throws SecurityException if the caller does not have the required permission/privileges */ - public static void enforeceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege( + public static void enforceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege( Context context, int subId, String message) { if (context.checkCallingOrSelfPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) == PERMISSION_GRANTED) { |