Merge "[SettingsProvider] fix server-side Readable maxTargetSdk check" into sc-v2-dev am: 325943b358
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16548944 Change-Id: I8e3209163040285157f08ae67f6357e784877922
This commit is contained in:
@@ -2102,7 +2102,7 @@ public class SettingsProvider extends ContentProvider {
|
||||
}
|
||||
if ((ai.flags & ApplicationInfo.FLAG_TEST_ONLY) == 0) {
|
||||
// Skip checking readable annotations for test_only apps
|
||||
checkReadableAnnotation(settingsType, settingName, ai.targetSandboxVersion);
|
||||
checkReadableAnnotation(settingsType, settingName, ai.targetSdkVersion);
|
||||
}
|
||||
/**
|
||||
* some settings need additional permission check, this is to have a matching security
|
||||
|
||||
Reference in New Issue
Block a user