1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-07 07:56:14 +00:00

Fix iteration on restore + add a log to understand where we are in restoration process

This commit is contained in:
Loic Blot 2018-03-18 11:36:22 +01:00
parent 7af398786e
commit 15c9617a2b
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -65,6 +65,8 @@ public interface ASyncSMSRecovery {
Integer nb = 0;
while ((obj != null) && (obj.getLastID() != start)) {
Log.i(TAG, "Retrieving messages from " + Long.toString(start)
+ " to " + Long.toString(obj.getLastID()));
SmsMessage message;
while ((message = obj.getNextMessage()) != null) {
int mbid = (int) message.getMailbox();