Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella

--HG--
extra : commitid : 9MafE98Uxi
extra : rebase_source : efb114af90b508af37cc1846980fe010853c40ca
This commit is contained in:
Michael Comella 2015-06-10 15:09:17 -07:00
parent f06270e506
commit 2bd8d89321

View File

@ -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;