summaryrefslogtreecommitdiff
path: root/src/com/android
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2011-11-02 17:50:22 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-02 17:50:22 +0000
commit0662a40ec0089736ca5fe31d0e97a597e1b2f62b (patch)
treec8e365554f06e10c5f76ca8b0eb67d925c5e22e1 /src/com/android
parent47648663466a1102606171c4e9710bf660c93da7 (diff)
parentdfd14622fab3463c3c62e0d402a3a4251feeee3e (diff)
downloadStk-0662a40ec0089736ca5fe31d0e97a597e1b2f62b.tar.gz
am dfd14622: am 046db4be: Fix NPE in STK application.
* commit 'dfd14622fab3463c3c62e0d402a3a4251feeee3e': Fix NPE in STK application.
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/stk/StkAppService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index 0ffb9c8..7fd639f 100644
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -703,6 +703,10 @@ public class StkAppService extends Service implements Runnable {
private void launchIdleText() {
TextMessage msg = mCurrentCmd.geTextMessage();
+ if (msg == null) {
+ CatLog.d(this, "mCurrentCmd.getTextMessage is NULL");
+ return;
+ }
if (msg.text == null) {
mNotificationManager.cancel(STK_NOTIFICATION_ID);
} else {