summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-01-07 12:26:31 -0800
committerDeepanshu Gupta <deepanshu@google.com>2015-01-07 12:26:31 -0800
commit6aede34e246e03be618c30504fc2fc8b07f23225 (patch)
treeffdba4b14adc0e64a96482a66f36f0eb5ac64759 /tools/layoutlib
parent0359b4b19962a4e3c44925907dedb4a9bfd916d0 (diff)
downloadframeworks_base-6aede34e246e03be618c30504fc2fc8b07f23225.zip
frameworks_base-6aede34e246e03be618c30504fc2fc8b07f23225.tar.gz
frameworks_base-6aede34e246e03be618c30504fc2fc8b07f23225.tar.bz2
Add missing DateFormat method.
Change-Id: Ia03023e65ef4a7ec90b61f1f538cbe74868c63c5
Diffstat (limited to 'tools/layoutlib')
-rw-r--r--tools/layoutlib/bridge/src/android/text/format/DateFormat_Delegate.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/android/text/format/DateFormat_Delegate.java b/tools/layoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
index 8cd1a69..1e4f213 100644
--- a/tools/layoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/text/format/DateFormat_Delegate.java
@@ -34,4 +34,9 @@ public class DateFormat_Delegate {
/*package*/ static boolean is24HourFormat(Context context) {
return false;
}
+
+ @LayoutlibDelegate
+ /*package*/ static boolean is24HourFormat(Context context, int userHandle) {
+ return false;
+ }
}