Loading src/com/android/dialer/calllog/CallLogActivity.java +10 −1 Original line number Diff line number Diff line Loading @@ -66,6 +66,8 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis private boolean mHasActiveVoicemailProvider; private boolean mIsResumed; private final Runnable mWaitForVoicemailTimeoutRunnable = new Runnable() { @Override public void run() { Loading Loading @@ -188,6 +190,7 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis @Override protected void onResume() { mIsResumed = true; super.onResume(); CallLogQueryHandler callLogQueryHandler = new CallLogQueryHandler(this.getContentResolver(), this); Loading @@ -195,6 +198,12 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis sendScreenViewForChildFragment(mViewPager.getCurrentItem()); } @Override protected void onPause() { mIsResumed = false; super.onPause(); } @Override public boolean onCreateOptionsMenu(Menu menu) { final MenuInflater inflater = getMenuInflater(); Loading Loading @@ -264,7 +273,7 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis @Override public void onPageSelected(int position) { if (isResumed()) { if (mIsResumed) { sendScreenViewForChildFragment(position); } mViewPagerTabs.onPageSelected(position); Loading Loading
src/com/android/dialer/calllog/CallLogActivity.java +10 −1 Original line number Diff line number Diff line Loading @@ -66,6 +66,8 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis private boolean mHasActiveVoicemailProvider; private boolean mIsResumed; private final Runnable mWaitForVoicemailTimeoutRunnable = new Runnable() { @Override public void run() { Loading Loading @@ -188,6 +190,7 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis @Override protected void onResume() { mIsResumed = true; super.onResume(); CallLogQueryHandler callLogQueryHandler = new CallLogQueryHandler(this.getContentResolver(), this); Loading @@ -195,6 +198,12 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis sendScreenViewForChildFragment(mViewPager.getCurrentItem()); } @Override protected void onPause() { mIsResumed = false; super.onPause(); } @Override public boolean onCreateOptionsMenu(Menu menu) { final MenuInflater inflater = getMenuInflater(); Loading Loading @@ -264,7 +273,7 @@ public class CallLogActivity extends Activity implements CallLogQueryHandler.Lis @Override public void onPageSelected(int position) { if (isResumed()) { if (mIsResumed) { sendScreenViewForChildFragment(position); } mViewPagerTabs.onPageSelected(position); Loading