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

Commit 08dd4252 authored by Linus Tufvesson's avatar Linus Tufvesson Committed by Android (Google) Code Review
Browse files

Merge "Bump min SDK level" into main

parents fc22d96e 1b6b7ba9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -206,3 +206,11 @@ flag {
    description: "Feature flag to enable pre-verified domains"
    bug: "307327678"
}

flag {
    name: "min_target_sdk_24"
    namespace: "responsible_apis"
    description: "Feature flag to bump min target sdk to 24"
    bug: "297603927"
    is_fixed_read_only: true
}
+2 −1
Original line number Diff line number Diff line
@@ -569,7 +569,8 @@ public class PackageManagerService implements PackageSender, TestUtilityService
     * target sdk apps as malware can target older sdk versions to avoid
     * the enforcement of new API behavior.
     */
    public static final int MIN_INSTALLABLE_TARGET_SDK = Build.VERSION_CODES.M;
    public static final int MIN_INSTALLABLE_TARGET_SDK =
            Flags.minTargetSdk24() ? Build.VERSION_CODES.N : Build.VERSION_CODES.M;

    // Compilation reasons.
    // TODO(b/260124949): Clean this up with the legacy dexopt code.