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

Commit 07d453fa authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

Merge "Add status bar time for 5.1" into lmp-mr1-dev

parents 8243b74f 2045061a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public class Config {

    public static String getTime(int platformVersion) {
        if (platformVersion == 0) {
            return "5:00";
            return "5:10";
        }
        if (platformVersion < GINGERBREAD) {
            return "2:20";
@@ -87,9 +87,12 @@ public class Config {
        if (platformVersion < KITKAT) {
            return "4:30";
        }
        if (platformVersion <= KITKAT_WATCH) {
        if (platformVersion < LOLLIPOP) {
            return "4:40";
        }
        if (platformVersion < LOLLIPOP_MR1) {
            return "5:00";
        }
        // Should never happen.
        return "4:04";
    }