diff options
Diffstat (limited to 'java/com')
-rw-r--r-- | java/com/android/dialer/app/DialtactsActivity.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java index 5f4b62c22..b9ca67f62 100644 --- a/java/com/android/dialer/app/DialtactsActivity.java +++ b/java/com/android/dialer/app/DialtactsActivity.java @@ -709,9 +709,8 @@ public class DialtactsActivity extends TransactionSafeActivity startActivity(intent); } - public boolean inAllContactsTab() { - return mListsFragment.getUserVisibleHint() - && mListsFragment.getCurrentTabIndex() == DialtactsPagerAdapter.TAB_INDEX_ALL_CONTACTS; + public boolean isListsFragmentVisible() { + return mListsFragment.getUserVisibleHint(); } @Override |