Add some stubs needed by android material library

This commit is contained in:
Julian Winkler
2023-08-22 14:41:01 +02:00
parent ca975a0e7c
commit 960930a348
42 changed files with 428 additions and 19 deletions

View File

@@ -329,6 +329,8 @@ public class TypedArray {
public ColorStateList getColorStateList(int index) {
final TypedValue value = mValue;
if (getValueAt(index * AssetManager.STYLE_NUM_ENTRIES, value)) {
if (value.type == -1)
return null;
return mResources.loadColorStateList(value, value.resourceId);
}
return null;