Loading core/java/android/provider/Settings.java +3 −3 Original line number Diff line number Diff line Loading @@ -8333,9 +8333,9 @@ public final class Settings { return true; case AppOpsManager.MODE_DEFAULT: // this is the default operating mode after an app's installation if (!throwException) { return context.checkCallingOrSelfPermission(permissionName) == PackageManager.PERMISSION_GRANTED; if(context.checkCallingOrSelfPermission(permissionName) == PackageManager .PERMISSION_GRANTED) { return true; } default: // this is for all other cases trickled down here... Loading Loading
core/java/android/provider/Settings.java +3 −3 Original line number Diff line number Diff line Loading @@ -8333,9 +8333,9 @@ public final class Settings { return true; case AppOpsManager.MODE_DEFAULT: // this is the default operating mode after an app's installation if (!throwException) { return context.checkCallingOrSelfPermission(permissionName) == PackageManager.PERMISSION_GRANTED; if(context.checkCallingOrSelfPermission(permissionName) == PackageManager .PERMISSION_GRANTED) { return true; } default: // this is for all other cases trickled down here... Loading