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

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

Merge "Moving logging Launcher and platform versions before matching" into ub-launcher3-master

parents 41dd48a7 61e28524
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -114,21 +114,20 @@ public class TestStabilityRule implements TestRule {
            throw new RuntimeException(e);
        }

        final Matcher launcherBuildMatcher = LAUNCHER_BUILD.matcher(launcherVersion);
        final String platformVersion = Build.VERSION.INCREMENTAL;

        Log.d(TAG, "Launcher: " + launcherVersion + ", platform: " + platformVersion);

        final Matcher launcherBuildMatcher = LAUNCHER_BUILD.matcher(launcherVersion);
        if (!launcherBuildMatcher.find()) {
            throw new AssertionError("Launcher build match not found");
        }

        final String platformVersion = Build.VERSION.INCREMENTAL;
        final Matcher platformBuildMatcher = PLATFORM_BUILD.matcher(platformVersion);

        if (!platformBuildMatcher.find()) {
            throw new AssertionError("Platform build match not found");
        }

        Log.d(TAG, "Launcher: " + launcherVersion + ", platform: " + platformVersion);

        final int runFlavor;

        if (launcherBuildMatcher.group("local") != null && (