diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-02-26 19:29:36 -0800 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-02-26 19:35:54 -0800 |
commit | 2045061aac9e8b0f93e426a2cf67cecc813a9020 (patch) | |
tree | 245df3029f715efe9c682b332eb575fe7e445563 /tools | |
parent | 025f0938544bae3262acc24e9c6031b6de88901d (diff) | |
download | frameworks_base-2045061aac9e8b0f93e426a2cf67cecc813a9020.zip frameworks_base-2045061aac9e8b0f93e426a2cf67cecc813a9020.tar.gz frameworks_base-2045061aac9e8b0f93e426a2cf67cecc813a9020.tar.bz2 |
Add status bar time for 5.1
Change-Id: I9469cdbbc5cbfe5cb99d9c4ee6f4e299246d409f
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java index 82a5130..dde041b 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/Config.java @@ -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"; } |