Use non deprecated method for creating ColorStateList
Change-Id: I9fce928276c8a2af55eb0615a4895abb6a973be5
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user