OSDN Git Service

Fix NPE in BridgeContext.obtainStyledAttributes()
authorDeepanshu Gupta <deepanshu@google.com>
Thu, 28 May 2015 19:33:04 +0000 (12:33 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Thu, 28 May 2015 21:57:43 +0000 (14:57 -0700)
commitd758e042ce08c46712db3db2d63fc84795028dfe
tree49028b347d709e286ecae9198e01039c60861d77
parent5779ad71eabed3aabaefef1e4749693f8320816e
Fix NPE in BridgeContext.obtainStyledAttributes()

Replace direct member access with getter that checks for nullness.

Change-Id: I4a56a0ee903ae7d8c89b91d74b128302e1965586
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java