fix null pointer exception
This commit is contained in:
parent
fdecec9f28
commit
ac617b73d5
|
@ -99,6 +99,7 @@ public class StatusService extends Service {
|
|||
|
||||
private boolean handleMessage(Message message) {
|
||||
Log.d(TAG, "Received service message." + message.toString());
|
||||
applicationMessenger = message.replyTo;
|
||||
doStartNode();
|
||||
switch (message.what) {
|
||||
|
||||
|
@ -177,7 +178,6 @@ public class StatusService extends Service {
|
|||
}
|
||||
|
||||
private void startNode(Message message) {
|
||||
applicationMessenger = message.replyTo;
|
||||
doStartNode();
|
||||
createAndSendReply(message, StatusMessages.MSG_START_NODE, null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue