Loading packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +3 −1 Original line number Diff line number Diff line Loading @@ -905,7 +905,9 @@ public class SettingsProvider extends ContentProvider { private boolean mutateSystemSetting(String name, String value, int runAsUserId, int operation) { // Check for permissions first. hasPermissionsToMutateSystemSettings(); if (!hasPermissionsToMutateSystemSettings()) { return false; } // Verify whether this operation is allowed for the calling package. if (!isAppOpWriteSettingsAllowedForCallingPackage()) { Loading Loading
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +3 −1 Original line number Diff line number Diff line Loading @@ -905,7 +905,9 @@ public class SettingsProvider extends ContentProvider { private boolean mutateSystemSetting(String name, String value, int runAsUserId, int operation) { // Check for permissions first. hasPermissionsToMutateSystemSettings(); if (!hasPermissionsToMutateSystemSettings()) { return false; } // Verify whether this operation is allowed for the calling package. if (!isAppOpWriteSettingsAllowedForCallingPackage()) { Loading