pull/207/head
M66B 3 years ago
parent 1ab6a71ed6
commit ab6e719779

@ -1235,6 +1235,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
for (EntityAccount account : accounts) { for (EntityAccount account : accounts) {
JSONObject jcondition = new JSONObject(); JSONObject jcondition = new JSONObject();
try { try {
if (!TextUtils.isEmpty(account.conditions))
jcondition = new JSONObject(account.conditions); jcondition = new JSONObject(account.conditions);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);
@ -2938,6 +2939,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
for (EntityAccount account : accounts) { for (EntityAccount account : accounts) {
JSONObject jcondition = new JSONObject(); JSONObject jcondition = new JSONObject();
try { try {
if (!TextUtils.isEmpty(account.conditions))
jcondition = new JSONObject(account.conditions); jcondition = new JSONObject(account.conditions);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);

Loading…
Cancel
Save