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

Commit 0d6cc194 authored by Rhed Jao's avatar Rhed Jao Committed by Android (Google) Code Review
Browse files

Merge "Fix wrong targetSdkVersion returned by the ApkLiteParseUtils" into sc-dev

parents aafffec2 5294b6b7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -493,6 +493,7 @@ public class ApkLiteParseUtils {
                if (targetResult.isError()) {
                    return input.error(targetResult);
                }
                targetSdkVersion = targetResult.getResult();

                ParseResult<Integer> minResult = ParsingPackageUtils.computeMinSdkVersion(
                        minVer, minCode, ParsingPackageUtils.SDK_VERSION,
@@ -500,8 +501,6 @@ public class ApkLiteParseUtils {
                if (minResult.isError()) {
                    return input.error(minResult);
                }

                targetSdkVersion = targetResult.getResult();
                minSdkVersion = minResult.getResult();
            }
        }