Recycle obtained TypedArrays

Bug: 218835043
Test: make
Change-Id: I069b84684fd3a7505516c014420d55d1e3272ae7
This commit is contained in:
Nikolas Havrikov
2022-02-10 15:00:48 +01:00
parent b0385bd966
commit e854c600b5

View File

@@ -124,6 +124,7 @@ public final class SpellCheckerInfo implements Parcelable {
.SpellChecker_Subtype_subtypeExtraValue),
a.getInt(com.android.internal.R.styleable
.SpellChecker_Subtype_subtypeId, 0));
a.recycle();
mSubtypes.add(subtype);
}
}