Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 409bd3d7 authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Resource resolution bug fix. [DO NOT MERGE]

Fix a bug where "?attr/foo" in framework resources wasn't resolved
properly.

Change-Id: I9a56974f526774fde79685f668f01021136d68f1
(cherry picked from commit 19c7842082d831ad432abe906f4c37c6ed08e414)
parent fea51feb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -598,8 +598,7 @@ public final class BridgeContext extends Context {

            if (item != null) {
                // item is a reference to a style entry. Search for it.
                item = mRenderResources.findResValue(item.getValue(),
                        false /*forceFrameworkOnly*/);
                item = mRenderResources.findResValue(item.getValue(), item.isFramework());

                if (item instanceof StyleResourceValue) {
                    defStyleValues = (StyleResourceValue)item;