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

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

Merge "Revert "Temporary stop-gap for Chrome target SDK issue."" into sc-dev

parents 97bedd25 32b756cf
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -2816,15 +2816,7 @@ public class ParsingPackageUtils {
        }
    }

    @SuppressWarnings("AndroidFrameworkCompatChange")
    private void convertSplitPermissions(ParsingPackage pkg) {
        // STOPSHIP(b/183905675): REMOVE THIS TERRIBLE, HORRIBLE, NO GOOD, VERY BAD HACK
        if ("com.android.chrome".equals(pkg.getPackageName())
                && pkg.getVersionCode() <= 445500399
                && pkg.getTargetSdkVersion() > Build.VERSION_CODES.R) {
            pkg.setTargetSdkVersion(Build.VERSION_CODES.R);
        }

        final int listSize = mSplitPermissionInfos.size();
        for (int is = 0; is < listSize; is++) {
            final PermissionManager.SplitPermissionInfo spi = mSplitPermissionInfos.get(is);