summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/graphics
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-11-21 00:53:41 +0000
committerDeepanshu Gupta <deepanshu@google.com>2014-11-26 12:03:39 +0000
commit17a6170c62e6f74f2881623a9c16f0b6fea54721 (patch)
tree9b00a9ffbe17fc54f270ddb8d768d2f0e61a4fc8 /tools/layoutlib/bridge/src/android/graphics
parentcb09bc45c58740af953874f9915306d351fc3d9d (diff)
downloadframeworks_base-17a6170c62e6f74f2881623a9c16f0b6fea54721.zip
frameworks_base-17a6170c62e6f74f2881623a9c16f0b6fea54721.tar.gz
frameworks_base-17a6170c62e6f74f2881623a9c16f0b6fea54721.tar.bz2
Fix AnalogClock rendering
1. Change calls to java.lang.System.log* since they don't exist on the host. 2. Clean up method rewrite mechanism in ReplaceMethodCallsAdapter. 3. Stub out creation of uninitialized GregorianCalendar. 4. Memory map the time zone data base file and provide a custom implementation of BufferIterator for use by ZoneInfoDB 5. Delete unused Time_Delegate Also fixed a comment in BridgeAssetManager and an error message in FontFamily_Delegate. Bug: http://b.android.com/79160 Change-Id: Iae5ef65678f0e6c7c5af520c45bd15980ce3fa55
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
index 4993262..ab79664 100644
--- a/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java
@@ -282,7 +282,7 @@ public class FontFamily_Delegate {
@LayoutlibDelegate
/*package*/ static boolean nAddFontFromAsset(long nativeFamily, AssetManager mgr, String path) {
Bridge.getLog().fidelityWarning(LayoutLog.TAG_UNSUPPORTED,
- "FontFamily.addFontFromAsset is not supported.", null, null);
+ "Typeface.createFromAsset is not supported.", null, null);
return false;
}