am dfd14622: am 046db4be: Fix NPE in STK application.
* commit 'dfd14622fab3463c3c62e0d402a3a4251feeee3e':
Fix NPE in STK application.
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index a21b240..aeea186 100644
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -698,6 +698,10 @@
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 {