This commit is contained in:
sonora 2016-07-06 08:05:18 +02:00
parent 36a8d14014
commit 08878ef30e

View file

@ -144,9 +144,11 @@ 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) {
ctx.sendBroadcast(i); ctx.sendBroadcast(i);
log.info("Send message to pebble " + bld.toString()); log.info("Send message to pebble " + bld.toString());
} }
}
private void initializeEngine(final Context ctx, final Activity act) { private void initializeEngine(final Context ctx, final Activity act) {