summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-04-16 17:34:00 -0700
committerYorke Lee <yorkelee@google.com>2014-04-16 17:34:00 -0700
commit5d651876bad2ff75bd0ca2e3dcb915ab612d0543 (patch)
treeee63d6a9106d3ac5aea3f6a180c7c9c659b9d979 /src
parenteea6a884c719f4926ed7e2f4d47ce7d18df81b48 (diff)
Recycle TypedArray
Change-Id: I8a4341b7121f0cbee0ddceae2ea99a231e76d104
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/list/ViewPagerTabs.java1
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) {