diff options
-rw-r--r-- | java/com/android/dialer/app/DialtactsActivity.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java index 3087a1768..4c2634184 100644 --- a/java/com/android/dialer/app/DialtactsActivity.java +++ b/java/com/android/dialer/app/DialtactsActivity.java @@ -1554,6 +1554,7 @@ public class DialtactsActivity extends TransactionSafeActivity if (tabIndex != mPreviouslySelectedTabIndex) { mFloatingActionButtonController.scaleIn(); } + LogUtil.i("DialtactsActivity.onPageSelected", "tabIndex: %d", tabIndex); mPreviouslySelectedTabIndex = tabIndex; timeTabSelected = SystemClock.elapsedRealtime(); } @@ -1675,6 +1676,10 @@ public class DialtactsActivity extends TransactionSafeActivity exitSearchUi(); } + protected int getPreviouslySelectedTabIndex() { + return mPreviouslySelectedTabIndex; + } + /** Popup menu accessible from the search bar */ protected class OptionsPopupMenu extends PopupMenu { |