diff options
author | Wink Saville <wink@google.com> | 2011-11-02 17:50:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-02 17:50:22 +0000 |
commit | 0662a40ec0089736ca5fe31d0e97a597e1b2f62b (patch) | |
tree | c8e365554f06e10c5f76ca8b0eb67d925c5e22e1 /src/com | |
parent | 47648663466a1102606171c4e9710bf660c93da7 (diff) | |
parent | dfd14622fab3463c3c62e0d402a3a4251feeee3e (diff) | |
download | packages_apps_Stk-0662a40ec0089736ca5fe31d0e97a597e1b2f62b.zip packages_apps_Stk-0662a40ec0089736ca5fe31d0e97a597e1b2f62b.tar.gz packages_apps_Stk-0662a40ec0089736ca5fe31d0e97a597e1b2f62b.tar.bz2 |
am dfd14622: am 046db4be: Fix NPE in STK application.
* commit 'dfd14622fab3463c3c62e0d402a3a4251feeee3e':
Fix NPE in STK application.
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/stk/StkAppService.java | 4 |
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 { |