summaryrefslogtreecommitdiff
path: root/telephony/common
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2021-04-06 11:24:43 -0700
committerNathan Harold <nharold@google.com>2021-04-06 17:21:09 -0700
commit7cb9b5b45be55c0146feb007a95bfaaa5424e2ec (patch)
treebd765cf6a1f7c8ae7f51fe73c27ccece74cc1951 /telephony/common
parenta997cf4420dc1fcd162c65796fead0061077a1f5 (diff)
s/enforece/enforce/
Because. Bug: 157768478 Test: compilation Merged-In: I8559564a5a68fee4ed8b0543cc91ea3ca7dc36ee Change-Id: I8559564a5a68fee4ed8b0543cc91ea3ca7dc36ee
Diffstat (limited to 'telephony/common')
-rw-r--r--telephony/common/com/android/internal/telephony/TelephonyPermissions.java6
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 38fa9077f188..3c3df51aa4e8 100644
--- a/telephony/common/com/android/internal/telephony/TelephonyPermissions.java
+++ b/telephony/common/com/android/internal/telephony/TelephonyPermissions.java
@@ -525,7 +525,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) {
@@ -545,7 +545,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) {
@@ -567,7 +567,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) {