Loading src/com/android/contacts/calllog/CallLogFragment.java +9 −1 Original line number Diff line number Diff line Loading @@ -337,7 +337,15 @@ public class CallLogFragment extends ListFragment implements ViewPagerVisibility @Override public void onVisibilityChanged(boolean visible) { if (mShowOptionsMenu != visible) { mShowOptionsMenu = visible; // Invalidate the options menu since we are changing the list of options shown in it. Activity activity = getActivity(); if (activity != null) { activity.invalidateOptionsMenu(); } } if (visible && isResumed()) { refreshData(); } Loading Loading
src/com/android/contacts/calllog/CallLogFragment.java +9 −1 Original line number Diff line number Diff line Loading @@ -337,7 +337,15 @@ public class CallLogFragment extends ListFragment implements ViewPagerVisibility @Override public void onVisibilityChanged(boolean visible) { if (mShowOptionsMenu != visible) { mShowOptionsMenu = visible; // Invalidate the options menu since we are changing the list of options shown in it. Activity activity = getActivity(); if (activity != null) { activity.invalidateOptionsMenu(); } } if (visible && isResumed()) { refreshData(); } Loading