diff --git a/app/src/main/java/com/mjsheng/myappstore/server/InitJpushServer.java b/app/src/main/java/com/mjsheng/myappstore/server/InitJpushServer.java index 61fadcc..1d77247 100644 --- a/app/src/main/java/com/mjsheng/myappstore/server/InitJpushServer.java +++ b/app/src/main/java/com/mjsheng/myappstore/server/InitJpushServer.java @@ -354,7 +354,9 @@ public class InitJpushServer extends Service { String data = jsonObject.getString("data"); List batchList = JSON.parseArray(data, Batch.class); if (null != batchList && batchList.size() > 1) { - deleteOtherApp(result); + if (!BuildConfig.DEBUG) { + deleteOtherApp(result); + } } else { Log.e("getDeviceBatch", "批次为空"); }