mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella
--HG-- extra : commitid : 9MafE98Uxi extra : rebase_source : efb114af90b508af37cc1846980fe010853c40ca
This commit is contained in:
parent
f06270e506
commit
2bd8d89321
@ -69,6 +69,7 @@ class TextSelectionHandle extends ImageView implements View.OnTouchListener {
|
||||
|
||||
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TextSelectionHandle);
|
||||
int handleType = a.getInt(R.styleable.TextSelectionHandle_handleType, 0x01);
|
||||
a.recycle();
|
||||
|
||||
if (handleType == 0x01)
|
||||
mHandleType = HandleType.ANCHOR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user