mirror of https://github.com/M66B/FairEmail.git
Oops
This commit is contained in:
parent
1ab6a71ed6
commit
ab6e719779
|
@ -1235,7 +1235,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
for (EntityAccount account : accounts) {
|
||||
JSONObject jcondition = new JSONObject();
|
||||
try {
|
||||
jcondition = new JSONObject(account.conditions);
|
||||
if (!TextUtils.isEmpty(account.conditions))
|
||||
jcondition = new JSONObject(account.conditions);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
@ -2938,7 +2939,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
for (EntityAccount account : accounts) {
|
||||
JSONObject jcondition = new JSONObject();
|
||||
try {
|
||||
jcondition = new JSONObject(account.conditions);
|
||||
if (!TextUtils.isEmpty(account.conditions))
|
||||
jcondition = new JSONObject(account.conditions);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue