From 4008ea307ed294326363d3c6af3d72bd4d03de48 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 8 May 2014 08:01:35 -0700 Subject: Correctly set OnpageChangedListener to ViewPagerTabs Bug: 14631091 Change-Id: I150f3c8482faae02ff252288751755aa44c1a03b --- src/com/android/dialer/calllog/CallLogActivity.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/dialer') diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index 0e6a0a328..13d5f0356 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -113,6 +113,7 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis mViewPagerTabs = (ViewPagerTabs) findViewById(R.id.viewpager_header); mViewPagerTabs.setViewPager(mViewPager); + mViewPager.setOnPageChangeListener(mViewPagerTabs); mVoicemailStatusHelper = new VoicemailStatusHelperImpl(); } -- cgit v1.2.3