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

Commit 1ea5da6d authored by Jerome Gaillard's avatar Jerome Gaillard Committed by Diego Perez
Browse files

Update Config.getTime method after the N release

And update the relevant golden files as the time in the status bar
is changed.

Test: Run layoutlib tests
Change-Id: I421b5495291f2d62091366bc0c066e77e0f3e107
parent ef99fb85
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -74,8 +74,8 @@ public class Config {
    }

    public static String getTime(int platformVersion) {
        if (isGreaterOrEqual(platformVersion, M)) {
            return "6:00";
        if (isGreaterOrEqual(platformVersion, N)) {
            return "7:00";
        }
        if (platformVersion < GINGERBREAD) {
            return "2:20";
@@ -98,6 +98,9 @@ public class Config {
        if (platformVersion < M) {
            return "5:10";
        }
        if (platformVersion < N) {
            return "6:00";
        }
        // Should never happen.
        return "4:04";
    }
−11 B (5.92 KiB)
Loading image diff...
−15 B (10.6 KiB)
Loading image diff...
+5 B (7.19 KiB)
Loading image diff...
−2 B (5.06 KiB)
Loading image diff...
Loading