diff options
author | calderwoodra <calderwoodra@google.com> | 2018-02-28 17:10:18 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-28 17:15:00 -0800 |
commit | 76cf7e18da00545145df8a5f215f3a377d605866 (patch) | |
tree | 3f9fac1016800841f7d00b383cf08668e187d4ef /java/com/android/dialer/app/DialtactsActivity.java | |
parent | 999b5d5a7152c3b7608fe30630b983512e9e4e43 (diff) |
Some small bug fixes in NUI.
- Never show the dialpad chooser in MainActivity.
- If the call log changed while dialer was in the background, it would trigger
the content observer to fetch the new info, which would request it's parent
that wasn't there. Now we register/unregister them in onResume/onPause. This
is safe to do because we force refresh the data onResume anyways, so any
changes will still be shown.
Bug: 73972084,73975555,73995512
Test: manual
PiperOrigin-RevId: 187407058
Change-Id: Iae86dabbcb852398bb2b9df4627e234261ab8030
Diffstat (limited to 'java/com/android/dialer/app/DialtactsActivity.java')
-rw-r--r-- | java/com/android/dialer/app/DialtactsActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java index b8fd57159..37b241bcd 100644 --- a/java/com/android/dialer/app/DialtactsActivity.java +++ b/java/com/android/dialer/app/DialtactsActivity.java @@ -1454,6 +1454,12 @@ public class DialtactsActivity extends TransactionSafeActivity } @Override + public boolean shouldShowDialpadChooser() { + // Show the dialpad chooser if we're in a call + return true; + } + + @Override public void onSearchListTouch() { if (isDialpadShown) { PerformanceReport.recordClick(UiAction.Type.CLOSE_DIALPAD); |