diff options
author | Yorke Lee <yorkelee@google.com> | 2015-11-07 01:31:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-11-07 01:31:05 +0000 |
commit | 305eb447e82d5a67e7b558a769059c2e8e5842ef (patch) | |
tree | 13c814fd4204fbc44793ed672768e32154befe96 /src/com/android/dialer/calllog | |
parent | f0017b72f44f39448c87186e59da8e568ebc5dd1 (diff) | |
parent | 8bea0950ff04891b7aaf58bb4ca758010c813fb4 (diff) |
Merge "More work to hook up screen event logging" into ub-contactsdialer-a-dev
Diffstat (limited to 'src/com/android/dialer/calllog')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogActivity.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index f6defcfd9..fb1a4fb0f 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -41,6 +41,7 @@ import com.android.dialer.DialtactsActivity; import com.android.dialer.R; import com.android.dialer.TransactionSafeActivity; import com.android.dialer.logging.Logger; +import com.android.dialer.logging.ScreenTagConstants; import com.android.dialer.util.DialerUtils; public class CallLogActivity extends TransactionSafeActivity implements ViewPager.OnPageChangeListener { @@ -223,7 +224,7 @@ public class CallLogActivity extends TransactionSafeActivity implements ViewPage } private void sendScreenViewForChildFragment(int position) { - Logger.logScreenView(CallLogFragment.class.getSimpleName(), this, + Logger.logScreenView(ScreenTagConstants.CALL_LOG, this, getFragmentTagForPosition(position)); } @@ -234,9 +235,9 @@ public class CallLogActivity extends TransactionSafeActivity implements ViewPage private String getFragmentTagForPosition(int position) { switch (position) { case TAB_INDEX_ALL: - return "All"; + return ScreenTagConstants.CALL_LOG_ALL; case TAB_INDEX_MISSED: - return "Missed"; + return ScreenTagConstants.CALL_LOG_MISSED; } return null; } |