|
|
@ -99,6 +99,9 @@ public class ServiceSend extends ServiceBase {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
Log.w(ex);
|
|
|
|
Log.w(ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (unsent == null || unsent.count == 0)
|
|
|
|
|
|
|
|
stopSelf();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -110,9 +113,6 @@ public class ServiceSend extends ServiceBase {
|
|
|
|
if (operations == null)
|
|
|
|
if (operations == null)
|
|
|
|
operations = new ArrayList<>();
|
|
|
|
operations = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
|
|
if (operations.size() == 0)
|
|
|
|
|
|
|
|
stopSelf();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
final List<TupleOperationEx> process = new ArrayList<>();
|
|
|
|
final List<TupleOperationEx> process = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
|
|
List<Long> ops = new ArrayList<>();
|
|
|
|
List<Long> ops = new ArrayList<>();
|
|
|
|