|
|
|
@ -154,7 +154,9 @@ public class ServiceSynchronize extends ServiceBase {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onChanged(TupleMessageStats stats) {
|
|
|
|
|
if (stats != null) {
|
|
|
|
|
if (stats == null)
|
|
|
|
|
stats = new TupleMessageStats();
|
|
|
|
|
|
|
|
|
|
boolean unseen_ignored = prefs.getBoolean("unseen_ignored", false);
|
|
|
|
|
if (!unseen_ignored || stats.ignored == null)
|
|
|
|
|
stats.ignored = 0;
|
|
|
|
@ -166,7 +168,6 @@ public class ServiceSynchronize extends ServiceBase {
|
|
|
|
|
setUnseen(stats.unseen - stats.ignored);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
final TwoStateOwner cowner = new TwoStateOwner(this, "liveUnseenNotify");
|
|
|
|
|