diff options
Diffstat (limited to 'src/com/android/server/util/PermissionUtil.java')
-rw-r--r-- | src/com/android/server/util/PermissionUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/server/util/PermissionUtil.java b/src/com/android/server/util/PermissionUtil.java index c4d736b..28dad25 100644 --- a/src/com/android/server/util/PermissionUtil.java +++ b/src/com/android/server/util/PermissionUtil.java @@ -34,7 +34,7 @@ public final class PermissionUtil { * Check that the caller is allowed to communicate with the network stack. * @throws SecurityException The caller is not allowed to communicate with the network stack. */ - public static void checkNetworkStackCallingPermission() { + public static void enforceNetworkStackCallingPermission() { final int caller = getCallingUid(); if (caller == Process.SYSTEM_UID) { checkConsistentSystemPid(); |