diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-16 17:34:00 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-16 17:34:00 -0700 |
commit | 5d651876bad2ff75bd0ca2e3dcb915ab612d0543 (patch) | |
tree | ee63d6a9106d3ac5aea3f6a180c7c9c659b9d979 | |
parent | eea6a884c719f4926ed7e2f4d47ce7d18df81b48 (diff) |
Recycle TypedArray
Change-Id: I8a4341b7121f0cbee0ddceae2ea99a231e76d104
-rw-r--r-- | src/com/android/dialer/list/ViewPagerTabs.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/ViewPagerTabs.java b/src/com/android/dialer/list/ViewPagerTabs.java index 030ddcb53..8019f7616 100644 --- a/src/com/android/dialer/list/ViewPagerTabs.java +++ b/src/com/android/dialer/list/ViewPagerTabs.java @@ -102,6 +102,7 @@ public class ViewPagerTabs extends HorizontalScrollView implements ViewPager.OnP mChild = new LinearLayout(context); addView(mChild, new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT)); + a.recycle(); } public void setViewPager(ViewPager viewPager) { |