summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/create/src
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-03-11 18:02:44 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-05-06 14:02:47 -0700
commit770e40f839f059e1e3a15a2b14157c7cbb3b0553 (patch)
treed8c6427251c18f66e8bf84088ab1dc2d3bcd57ab /tools/layoutlib/create/src
parent87665388466812897e888680c0b2a1d7db1b9cbd (diff)
downloadframeworks_base-770e40f839f059e1e3a15a2b14157c7cbb3b0553.zip
frameworks_base-770e40f839f059e1e3a15a2b14157c7cbb3b0553.tar.gz
frameworks_base-770e40f839f059e1e3a15a2b14157c7cbb3b0553.tar.bz2
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d (cherry picked from commit 76dccb7f436565136ff5e15b1ca57530940f5642)
Diffstat (limited to 'tools/layoutlib/create/src')
-rw-r--r--tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
index fbd1ddf..8a4cc9d 100644
--- a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
+++ b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
@@ -125,6 +125,9 @@ public final class CreateInfo implements ICreateInfo {
"android.app.Fragment#instantiate", //(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;)Landroid/app/Fragment;",
"android.content.res.Resources$Theme#obtainStyledAttributes",
"android.content.res.Resources$Theme#resolveAttribute",
+ "android.content.res.AssetManager#newTheme",
+ "android.content.res.AssetManager#deleteTheme",
+ "android.content.res.AssetManager#applyThemeStyle",
"android.content.res.TypedArray#getValueAt",
"android.graphics.BitmapFactory#finishDecode",
"android.os.Handler#sendMessageAtTime",