diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-07-29 17:01:33 -0700 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-07-29 17:01:33 -0700 |
commit | 36e3fa55b6537d32d36e215cd5af9bcda82f7f1d (patch) | |
tree | 70790286a1f8ab1274f859032f9e5facd95c349d | |
parent | 671b7f9b99316f7224c1213d6923d449a2de9b62 (diff) | |
download | frameworks_base-36e3fa55b6537d32d36e215cd5af9bcda82f7f1d.zip frameworks_base-36e3fa55b6537d32d36e215cd5af9bcda82f7f1d.tar.gz frameworks_base-36e3fa55b6537d32d36e215cd5af9bcda82f7f1d.tar.bz2 |
Update status bar time.
Copy the value from the demo mode (commit 33b60bb45f)
Change-Id: I4c215676e7ae26a68aa370e99db005226d8a05d9
-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 dc89d0c..645634f 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 @@ -74,8 +74,8 @@ public class Config { } public static String getTime(int platformVersion) { - if (isGreaterOrEqual(platformVersion, LOLLIPOP_MR1)) { - return "5:10"; + if (isGreaterOrEqual(platformVersion, MNC)) { + return "6:00"; } if (platformVersion < GINGERBREAD) { return "2:20"; @@ -95,6 +95,9 @@ public class Config { if (platformVersion < LOLLIPOP_MR1) { return "5:00"; } + if (platformVersion < MNC) { + return "5:10"; + } // Should never happen. return "4:04"; } |