Loading tools/layoutlib/bridge/src/android/content/res/BridgeResources.java +5 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,11 @@ public final class BridgeResources extends Resources { @Override public Drawable getDrawable(int id) throws NotFoundException { return getDrawable(id, null); } @Override public Drawable getDrawable(int id, Theme theme) { Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); if (value != null) { Loading Loading
tools/layoutlib/bridge/src/android/content/res/BridgeResources.java +5 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,11 @@ public final class BridgeResources extends Resources { @Override public Drawable getDrawable(int id) throws NotFoundException { return getDrawable(id, null); } @Override public Drawable getDrawable(int id, Theme theme) { Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); if (value != null) { Loading