Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41105e57 authored by Nathan Harold's avatar Nathan Harold
Browse files

s/enforece/enforce/

Because.

Bug: 157768478
Test: compilation
Change-Id: I8559564a5a68fee4ed8b0543cc91ea3ca7dc36ee
parent b1f4cb5b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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) {