From 5d651876bad2ff75bd0ca2e3dcb915ab612d0543 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 16 Apr 2014 17:34:00 -0700 Subject: Recycle TypedArray Change-Id: I8a4341b7121f0cbee0ddceae2ea99a231e76d104 --- src/com/android/dialer/list/ViewPagerTabs.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com') 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) { -- cgit v1.2.3