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

Commit cb60d919 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[SettingsProvider] fix server-side Readable maxTargetSdk check"

parents f8660097 85034c77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2117,7 +2117,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