True npe fix
This commit is contained in:
parent
120b68b035
commit
a41c99d591
1 changed files with 4 additions and 4 deletions
|
@ -144,7 +144,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
||||||
i.putExtra("messageType", PEBBLE_ALERT);
|
i.putExtra("messageType", PEBBLE_ALERT);
|
||||||
i.putExtra("sender", "OsmAnd");
|
i.putExtra("sender", "OsmAnd");
|
||||||
i.putExtra("notificationData", notificationData);
|
i.putExtra("notificationData", notificationData);
|
||||||
if (cxt != null) {
|
if (ctx != null) {
|
||||||
ctx.sendBroadcast(i);
|
ctx.sendBroadcast(i);
|
||||||
log.info("Send message to pebble " + bld.toString());
|
log.info("Send message to pebble " + bld.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue