|
|
@ -97,6 +97,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
|
|
|
public void onChanged(TupleUnsent unsent) {
|
|
|
|
public void onChanged(TupleUnsent unsent) {
|
|
|
|
if (unsent == null || !unsent.equals(lastUnsent)) {
|
|
|
|
if (unsent == null || !unsent.equals(lastUnsent)) {
|
|
|
|
lastUnsent = unsent;
|
|
|
|
lastUnsent = unsent;
|
|
|
|
|
|
|
|
EntityLog.log(ServiceSend.this, "Unsent=" + (unsent == null ? null : unsent.count));
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
|
|
|
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
|
|
|