summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-08 08:01:35 -0700
committerYorke Lee <yorkelee@google.com>2014-05-08 08:01:35 -0700
commit4008ea307ed294326363d3c6af3d72bd4d03de48 (patch)
tree06739c4416c171909d907bc8cd5a9b67483dbf1a
parent4037ae44d2e5b97c6abb89be0882418576d9db37 (diff)
Correctly set OnpageChangedListener to ViewPagerTabs
Bug: 14631091 Change-Id: I150f3c8482faae02ff252288751755aa44c1a03b
-rw-r--r--src/com/android/dialer/calllog/CallLogActivity.java1
1 files changed, 1 insertions, 0 deletions
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();
}