OSDN Git Service

Always resolve enum when resolving resources.
authorDeepanshu Gupta <deepanshu@google.com>
Mon, 29 Sep 2014 16:32:42 +0000 (09:32 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Mon, 29 Sep 2014 19:01:37 +0000 (12:01 -0700)
commit171804201dd556f8ce7ee7618661a5c8ee71507a
tree8248686aa4d4506053c4db49325d3c61bb46d9b8
parent8d5a15b69160aed1c6239283508b6c113df233fe
Always resolve enum when resolving resources.

Enums were resolved only for integers and dimensions. This change
resolves enums for all resource types. Well, almost all. For color and
colorStateList, enums are still not referenced.

Bug: http://b.android.com/76091
Change-Id: Ie43bd1b54fb9877655d31773bdf71d9a6a65c473
tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java