summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/create/src/com/android
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-08-05 17:33:35 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-08-05 17:47:30 -0700
commit505c675c3a536ac7c6ad264eb62542537532119c (patch)
tree8d6bd1171d9ef49510a963ee4a1ff6756bd76a17 /tools/layoutlib/create/src/com/android
parent5af7324ace4f318d7395b680beabec7a0f0e39b3 (diff)
downloadframeworks_base-505c675c3a536ac7c6ad264eb62542537532119c.zip
frameworks_base-505c675c3a536ac7c6ad264eb62542537532119c.tar.gz
frameworks_base-505c675c3a536ac7c6ad264eb62542537532119c.tar.bz2
Fix SystemProperties in LayoutLib.
Not all System Properties were used via Build class. Also, properties like SDK_INT which called SystemProperties directly were not initialized properly. This change is essentially cherry picking of the relevant parts from the following commits: 984749bf75c9ce9d3401b8410ea7d6276544b6ee 167bc25bceea9280bbe4858db4cb8233f86ce325 Bug: http://b.android.com/73046 Change-Id: Ia0fb467ee6d5fdedda500d57d02be20006f115df
Diffstat (limited to 'tools/layoutlib/create/src/com/android')
-rw-r--r--tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java2
1 files changed, 1 insertions, 1 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 b65137c..ff1d82a 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
@@ -132,7 +132,6 @@ public final class CreateInfo implements ICreateInfo {
"android.graphics.BitmapFactory#finishDecode",
"android.os.Handler#sendMessageAtTime",
"android.os.HandlerThread#run",
- "android.os.Build#getString",
"android.view.Display#getWindowManager",
"android.view.LayoutInflater#rInflate",
"android.view.LayoutInflater#parseInclude",
@@ -188,6 +187,7 @@ public final class CreateInfo implements ICreateInfo {
"android.graphics.Typeface",
"android.graphics.Xfermode",
"android.os.SystemClock",
+ "android.os.SystemProperties",
"android.text.AndroidBidi",
"android.text.format.Time",
"android.util.FloatMath",