diff options
author | Yorke Lee <yorkelee@google.com> | 2014-06-10 12:14:20 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-06-10 12:23:16 -0700 |
commit | 473dd6c9b6857f1effbe86f3a295006d661a22f0 (patch) | |
tree | 9ea44f75d284da14e031d2c5c18f3afaf5f7e31e | |
parent | 10fe6cbaf1ec65dd8c94d55e6a2f68d0d7679e07 (diff) |
Empty ACTION_DIAL intent launches favorites
Bug: 15537399
Change-Id: I6262945f9b90d4378c24a8450d7c818604133623
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index d4ba6a225..ca588cfa8 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -753,7 +753,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O if (mDialpadFragment != null) { final boolean phoneIsInUse = phoneIsInUse(); - if (phoneIsInUse || isDialIntent(intent)) { + if (phoneIsInUse || (intent.getData() != null && isDialIntent(intent))) { mDialpadFragment.setStartedFromNewIntent(true); if (phoneIsInUse && !mDialpadFragment.isVisible()) { mInCallDialpadUp = true; |