diff options
author | Yorke Lee <yorkelee@google.com> | 2015-11-07 01:34:05 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-07 01:34:05 +0000 |
commit | 7b2f63c7c5485bdd62a3e0ed8446b6011a786d3b (patch) | |
tree | c6ee5e79ee554d1c51649417214274330cb30b3c /src/com/android/dialer/DialtactsActivity.java | |
parent | 415d6da854af5311d50503afde89d3d4b235209e (diff) | |
parent | 305eb447e82d5a67e7b558a769059c2e8e5842ef (diff) |
Merge "More work to hook up screen event logging" into ub-contactsdialer-a-dev
am: 305eb447e8
* commit '305eb447e82d5a67e7b558a769059c2e8e5842ef':
More work to hook up screen event logging
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index b4dd6c9c8..b6cf754b7 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -82,6 +82,7 @@ import com.android.dialer.list.SearchFragment; import com.android.dialer.list.SmartDialSearchFragment; import com.android.dialer.list.SpeedDialFragment; import com.android.dialer.logging.Logger; +import com.android.dialer.logging.ScreenTagConstants; import com.android.dialer.settings.DialerSettingsActivity; import com.android.dialer.util.DialerUtils; import com.android.dialer.util.IntentUtil; @@ -527,7 +528,8 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O // This is only called when the activity goes from resumed -> paused -> resumed, so it // will not cause an extra view to be sent out on rotation if (mIsDialpadShown) { - Logger.logFragmentView(mDialpadFragment); + Logger.logScreenView(ScreenTagConstants.DIALPAD, this, + ScreenTagConstants.DIALPAD_DIALER); } mIsRestarting = false; } @@ -682,6 +684,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O ImportExportDialogFragment.show(getFragmentManager(), true, DialtactsActivity.class, ImportExportDialogFragment.EXPORT_MODE_DEFAULT); } + Logger.logScreenView(ScreenTagConstants.IMPORT_EXPORT_CONTACTS, this, null); return true; case R.id.menu_clear_frequents: ClearFrequentsDialog.show(getFragmentManager()); @@ -744,7 +747,8 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O mDialpadFragment.setAnimate(animate); // logScreenView is used here explicitly to provide the activity as the DialpadFragment // might not have been attached yet. - Logger.logScreenView(DialpadFragment.class.getSimpleName(), this, null); + Logger.logScreenView(ScreenTagConstants.DIALPAD, this, + ScreenTagConstants.DIALPAD_DIALER); ft.commit(); if (animate) { |