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

Commit 10dff451 authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Use non deprecated method for creating ColorStateList

Change-Id: I9fce928276c8a2af55eb0615a4895abb6a973be5
parent 719c9b93
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();
                }