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

Commit c813375e authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

Merge "Use non deprecated method for creating ColorStateList" into mnc-dev

parents 116c9ed6 10dff451
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -320,7 +320,8 @@ public final class BridgeTypedArray extends TypedArray {
                BridgeXmlBlockParser blockParser = new BridgeXmlBlockParser(
                        parser, mContext, resValue.isFramework());
                try {
                    return ColorStateList.createFromXml(mContext.getResources(), blockParser);
                    return ColorStateList.createFromXml(mContext.getResources(), blockParser,
                            mContext.getTheme());
                } finally {
                    blockParser.ensurePopped();
                }