diff options
author | Jay Shrauner <shrauner@google.com> | 2014-03-03 22:18:12 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-03 22:18:12 +0000 |
commit | 31fd5b1e1feece3028954fabbfa1581e9b89711d (patch) | |
tree | 2f7301f075e7629095c78922a1fecba7976ce79e /InCallUI | |
parent | 2d1ffed85d9d50051a3b4d4aec56233fde965425 (diff) | |
parent | e5fbbea9f992a695bead99e5f0407bd920ba6b38 (diff) |
am 060bd3df: Fix NPE in onPostDialCharWait
* commit '060bd3dfb6622ef34e980d2d5c1705daca7e7b12':
Fix NPE in onPostDialCharWait
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 8bec492d9..140262127 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -425,7 +425,9 @@ public class InCallPresenter implements CallList.Listener { } public void onPostDialCharWait(int callId, String chars) { - mInCallActivity.showPostCharWaitDialog(callId, chars); + if (isActivityStarted()) { + mInCallActivity.showPostCharWaitDialog(callId, chars); + } } /** |