diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-11-12 22:49:16 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-12 22:49:16 +0000 |
commit | 0a6f700df273c98f5051cd43326dc78afc2eff77 (patch) | |
tree | 13c5c15af963ee4058bf2741d694a36b526cce39 /src/com/android/dialer/CallDetailActivity.java | |
parent | 686686109879fb4473c77da68f44a960de6706e3 (diff) | |
parent | d81cc6c64f3213f571c1f1e7a5c7e59b71491fb0 (diff) |
Adding Logging to call blocking interactions
am: d81cc6c64f
* commit 'd81cc6c64f3213f571c1f1e7a5c7e59b71491fb0':
Adding Logging to call blocking interactions
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 14279f15d..34e49a99b 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -57,6 +57,8 @@ import com.android.dialer.database.FilteredNumberAsyncQueryHandler; import com.android.dialer.database.FilteredNumberAsyncQueryHandler.OnCheckBlockedListener; import com.android.dialer.filterednumber.BlockNumberDialogFragment; import com.android.dialer.filterednumber.FilteredNumbersUtil; +import com.android.dialer.logging.InteractionEvent; +import com.android.dialer.logging.Logger; import com.android.dialer.util.DialerUtils; import com.android.dialer.util.IntentUtil.CallIntentBuilder; import com.android.dialer.util.PhoneNumberUtil; @@ -390,7 +392,14 @@ public class CallDetailActivity extends AppCompatActivity } @Override - public void onChangeFilteredNumberSuccess() { + public void onFilterNumberSuccess() { + Logger.logInteraction(InteractionEvent.BLOCK_NUMBER_CALL_DETAIL); + updateFilteredNumberChanges(); + } + + @Override + public void onUnfilterNumberSuccess() { + Logger.logInteraction(InteractionEvent.UNBLOCK_NUMBER_CALL_DETAIL); updateFilteredNumberChanges(); } |