Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67bb7adf authored by codeworkx's avatar codeworkx
Browse files

samsung stk: fix null pointer while processing a sms

Change-Id: Ic80f59e7174932bb51bbefa9837635262feae8f1
parent 7494abb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -669,7 +669,7 @@ public class CatService extends Handler implements AppInterface {
                if (msg.obj == null)
                if (msg.obj == null)
                    break;
                    break;
                ar = (AsyncResult) msg.obj;
                ar = (AsyncResult) msg.obj;
                if (ar == null || ar.result == null)
                if (ar == null || ar.result == null || mCurrntCmd == null || mCurrntCmd.mCmdDet == null)
                    break;
                    break;
                sendResult = (int[]) ar.result;
                sendResult = (int[]) ar.result;
                switch (sendResult[0]) {
                switch (sendResult[0]) {