mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-22 23:36:34 +00:00
merge
This commit is contained in:
parent
7cb2e8473b
commit
ebc8167500
@ -26,7 +26,6 @@ import fr.unix_experience.owncloud_sms.prefs.OCSMSSharedPrefs;
|
|||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.net.ConnectivityManager;
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
public class ConnectivityChanged extends BroadcastReceiver implements ASyncTask {
|
public class ConnectivityChanged extends BroadcastReceiver implements ASyncTask {
|
||||||
|
@ -195,7 +195,7 @@ public class SmsFetcher {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Cursor c = (new SmsDataProvider(_context)).query(mbURI, "date > " + sinceDate);
|
Cursor c = new SmsDataProvider(_context).query(mbURI, "date > ?", new String[] { sinceDate.toString() });
|
||||||
|
|
||||||
// Reading mailbox
|
// Reading mailbox
|
||||||
if (c != null && c.getCount() > 0) {
|
if (c != null && c.getCount() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user