version:
update:2020.09.23 fix:debug模式下不删除应用 add:
This commit is contained in:
@@ -354,7 +354,9 @@ public class InitJpushServer extends Service {
|
|||||||
String data = jsonObject.getString("data");
|
String data = jsonObject.getString("data");
|
||||||
List<Batch> batchList = JSON.parseArray(data, Batch.class);
|
List<Batch> batchList = JSON.parseArray(data, Batch.class);
|
||||||
if (null != batchList && batchList.size() > 1) {
|
if (null != batchList && batchList.size() > 1) {
|
||||||
deleteOtherApp(result);
|
if (!BuildConfig.DEBUG) {
|
||||||
|
deleteOtherApp(result);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.e("getDeviceBatch", "批次为空");
|
Log.e("getDeviceBatch", "批次为空");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user