update:2020.09.23
fix:debug模式下不删除应用
add:
This commit is contained in:
tt committed 2020-09-23 17:56:44 +08:00
1 parent 48eaf5794e
commit 73ba229872
1 file changed
+3 -1
@@ -354,7 +354,9 @@ public class InitJpushServer extends Service {
String data = jsonObject.getString("data");
List<Batch> batchList = JSON.parseArray(data, Batch.class);
if (null != batchList && batchList.size() > 1) {
deleteOtherApp(result);
if (!BuildConfig.DEBUG) {
deleteOtherApp(result);
}
} else {
Log.e("getDeviceBatch", "批次为空");
}