Recycle obtained TypedArrays

Bug: 218835043
Test: make
Change-Id: I7b9c3d1039ba814ae2c6ba2a3ed2c7f02915974e
This commit is contained in:
Nikolas Havrikov
2022-02-10 14:53:47 +01:00
parent b0385bd966
commit 55b2bc4bd2

View File

@@ -278,6 +278,7 @@ public final class InputMethodInfo implements Parcelable {
.InputMethod_Subtype_subtypeId, 0 /* use Arrays.hashCode */))
.setIsAsciiCapable(a.getBoolean(com.android.internal.R.styleable
.InputMethod_Subtype_isAsciiCapable, false)).build();
a.recycle();
if (!subtype.isAuxiliary()) {
isAuxIme = false;
}