OSDN Git Service

Copy fonts.xml to /system/etc
authorRaph Levien <raph@google.com>
Mon, 11 Aug 2014 15:48:41 +0000 (08:48 -0700)
committerRaph Levien <raph@google.com>
Mon, 11 Aug 2014 15:54:51 +0000 (08:54 -0700)
This patch actually copies the new font config file to the /system/etc
directory on the device, where frameworks and apps will be able to read
it.

Bug: 14538154
Change-Id: I53a932210763b718f469d80cc92816edf4e5b14e

data/fonts/fonts.mk

index 2ff2010..f285ebe 100644 (file)
@@ -16,7 +16,8 @@
 
 PRODUCT_COPY_FILES := \
     frameworks/base/data/fonts/system_fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/system_fonts.xml \
-    frameworks/base/data/fonts/fallback_fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/fallback_fonts.xml
+    frameworks/base/data/fonts/fallback_fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/fallback_fonts.xml \
+    frameworks/base/data/fonts/fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/fonts.xml
 
 PRODUCT_PACKAGES := \
     DroidSansFallback.ttf \