diff options
author | Santos Cordon <santoscordon@google.com> | 2015-04-16 21:25:35 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2015-06-11 15:11:46 -0700 |
commit | 83131715419e89eebe8e4ea7ada7f96ec37dd8f9 (patch) | |
tree | bc71fa1ac15b197ab581f381a1ec9ecb3482a20a /src/com/android/dialer/DialtactsActivity.java | |
parent | 95ec942a67c58748031b67c306e15146b462ec69 (diff) |
"Emergency" dialpad behavior.
Change-Id: I132a119238c8de7249a4944e6dda472b3851637e
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index aefe01f7a..47e52342a 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -1080,6 +1080,15 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O } mSearchView.setText(normalizedQuery); } + + try { + if (mDialpadFragment != null && mDialpadFragment.isVisible()) { + mDialpadFragment.process_quote_emergency_unquote(normalizedQuery); + } + } catch (Exception ignored) { + // Skip any exceptions for this piece of code + } + } @Override |