version:
update:2021.04.02 fix:新的app内部管控接口 add:
This commit is contained in:
@@ -12,7 +12,7 @@ android {
|
|||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.jiaoguanyi.appstore"
|
applicationId "com.jiaoguanyi.appstore"
|
||||||
minSdkVersion 20
|
minSdkVersion 24
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
|
|
||||||
// versionCode 105
|
// versionCode 105
|
||||||
@@ -57,7 +57,7 @@ android {
|
|||||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||||
JPUSH_APPKEY : "20f70bbeb78bad23eddd08d0", //JPush上注册的包名对应的appkey.
|
JPUSH_APPKEY : "20f70bbeb78bad23eddd08d0", //JPush上注册的包名对应的appkey.
|
||||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||||
channel_value : "official",
|
channel_value: "official",
|
||||||
]
|
]
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
/*********************************极光推送end************************************/
|
/*********************************极光推送end************************************/
|
||||||
@@ -76,7 +76,7 @@ android {
|
|||||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||||
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
||||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||||
channel_value : "beta"
|
channel_value: "beta"
|
||||||
]
|
]
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
/*********************************极光推送end************************************/
|
/*********************************极光推送end************************************/
|
||||||
@@ -95,7 +95,7 @@ android {
|
|||||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||||
JPUSH_APPKEY : "a98c8a210687b4bb43c39c39", //JPush上注册的包名对应的appkey.
|
JPUSH_APPKEY : "a98c8a210687b4bb43c39c39", //JPush上注册的包名对应的appkey.
|
||||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||||
channel_value : "zhongyou"
|
channel_value: "zhongyou"
|
||||||
]
|
]
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
/*********************************极光推送end************************************/
|
/*********************************极光推送end************************************/
|
||||||
@@ -105,15 +105,15 @@ android {
|
|||||||
|
|
||||||
newl {
|
newl {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
// versionCode 167
|
// versionCode 168
|
||||||
versionCode 1033
|
versionCode 1036
|
||||||
versionName "1.2.7"
|
versionName "1.2.8"
|
||||||
/*********************************极光推送************************************/
|
/*********************************极光推送************************************/
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
JPUSH_PKGNAME: "com.jiaoguanyi.appstore",
|
||||||
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
JPUSH_APPKEY : "52d81643665bb2cadacf0e9e", //JPush上注册的包名对应的appkey.
|
||||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||||
channel_value : "newl"
|
channel_value: "newl"
|
||||||
]
|
]
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
/*********************************极光推送end************************************/
|
/*********************************极光推送end************************************/
|
||||||
|
|||||||
@@ -80,6 +80,11 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
this.mView = null;
|
this.mView = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean isOfficialVersion() {
|
||||||
|
String channelValue = JGYUtils.getInstance().getStringMetaData();
|
||||||
|
return "official".equals(channelValue);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过sn获取用户信息
|
* 通过sn获取用户信息
|
||||||
*/
|
*/
|
||||||
@@ -268,8 +273,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateDeviceInfo() {
|
public void updateDeviceInfo() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
mView.updateDeviceInfoFinished();
|
mView.updateDeviceInfoFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -328,8 +332,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getSnTimeControl() {
|
public void getSnTimeControl() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
mView.getSnTimeControlFinished();
|
mView.getSnTimeControlFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -551,8 +554,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void checkTestUpdate() {
|
public void checkTestUpdate() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
mView.checkTestUpdateFinished();
|
mView.checkTestUpdateFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -644,8 +646,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getDeviceBatch(String packageList) {
|
public void getDeviceBatch(String packageList) {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
mView.getDeviceBatchFinished();
|
mView.getDeviceBatchFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -766,7 +767,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
mView.getBrowserListFinished(white);
|
mView.getBrowserListFinished(white);
|
||||||
if (!TextUtils.isEmpty(white)) {
|
if (!TextUtils.isEmpty(white)) {
|
||||||
String homePage = Settings.System.getString(mContext.getContentResolver(), "homepagURL");
|
String homePage = Settings.System.getString(mContext.getContentResolver(), "homepagURL");
|
||||||
if (!white.contains(homePage) && !TextUtils.isEmpty(homePage)) {
|
if (!TextUtils.isEmpty(homePage) && !white.contains(homePage)) {
|
||||||
white += "," + homePage;
|
white += "," + homePage;
|
||||||
}
|
}
|
||||||
boolean whiteList = Settings.System.putString(mContext.getContentResolver(), "DeselectBrowserArray", white);
|
boolean whiteList = Settings.System.putString(mContext.getContentResolver(), "DeselectBrowserArray", white);
|
||||||
@@ -984,6 +985,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
Log.e("getAppIDControl", "onNext: ");
|
Log.e("getAppIDControl", "onNext: ");
|
||||||
try {
|
try {
|
||||||
String bodyString = responseBody.string();
|
String bodyString = responseBody.string();
|
||||||
|
Log.e("getAppIDControl", "bodyString: " + bodyString);
|
||||||
JsonObject jsonObject = JsonParser.parseString(bodyString).getAsJsonObject();
|
JsonObject jsonObject = JsonParser.parseString(bodyString).getAsJsonObject();
|
||||||
int code = jsonObject.get("code").getAsInt();
|
int code = jsonObject.get("code").getAsInt();
|
||||||
if (code == 200) {
|
if (code == 200) {
|
||||||
@@ -1020,8 +1022,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setAppinsideWeb() {
|
public void setAppinsideWeb() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
getAppinsideWeb();
|
getAppinsideWeb();
|
||||||
} else {
|
} else {
|
||||||
getNewAppinsideWeb();
|
getNewAppinsideWeb();
|
||||||
@@ -1083,6 +1084,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
@Override
|
@Override
|
||||||
public void onComplete() {
|
public void onComplete() {
|
||||||
Log.e("getNewAppinsideWeb", "onComplete: ");
|
Log.e("getNewAppinsideWeb", "onComplete: ");
|
||||||
|
mView.setAppinsideWebFinished();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1135,6 +1137,10 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setLogoImg() {
|
public void setLogoImg() {
|
||||||
|
if (isOfficialVersion()) {
|
||||||
|
mView.setLogoImgFinished();
|
||||||
|
return;
|
||||||
|
}
|
||||||
NetInterfaceManager.getInstance()
|
NetInterfaceManager.getInstance()
|
||||||
.getLogoImgObservable()
|
.getLogoImgObservable()
|
||||||
.subscribe(new Observer<BaseResponse<LogoImg>>() {
|
.subscribe(new Observer<BaseResponse<LogoImg>>() {
|
||||||
@@ -1178,9 +1184,8 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getScreenLockState() {
|
public void getScreenLockState() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
|
||||||
int locked = Settings.System.getInt(mContext.getContentResolver(), "qch_unlock_ipad", 1);
|
int locked = Settings.System.getInt(mContext.getContentResolver(), "qch_unlock_ipad", 1);
|
||||||
if ("official".equals(channel_value) || locked == 1) {
|
if (isOfficialVersion() || locked == 1) {
|
||||||
mView.setScreenLockStateFinished(false, "");
|
mView.setScreenLockStateFinished(false, "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1222,8 +1227,7 @@ public class MainPresenter implements MainContact.Presenter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getDefaultDesktop() {
|
public void getDefaultDesktop() {
|
||||||
String channel_value = JGYUtils.getInstance().getStringMetaData();
|
if (isOfficialVersion()) {
|
||||||
if ("official".equals(channel_value)) {
|
|
||||||
mView.getDefaultDesktopFinished();
|
mView.getDefaultDesktopFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -502,7 +502,7 @@ public class HTTPInterface {
|
|||||||
String white = data.getString("white");
|
String white = data.getString("white");
|
||||||
String homePage = Settings.System.getString(context.getContentResolver(), "homepagURL");
|
String homePage = Settings.System.getString(context.getContentResolver(), "homepagURL");
|
||||||
if (!TextUtils.isEmpty(white)) {
|
if (!TextUtils.isEmpty(white)) {
|
||||||
if (!white.contains(homePage) && !TextUtils.isEmpty(homePage)) {
|
if (!TextUtils.isEmpty(homePage) && !white.contains(homePage)) {
|
||||||
white += "," + homePage;
|
white += "," + homePage;
|
||||||
}
|
}
|
||||||
boolean whiteList = Settings.System.putString(context.getContentResolver(), "DeselectBrowserArray", white);
|
boolean whiteList = Settings.System.putString(context.getContentResolver(), "DeselectBrowserArray", white);
|
||||||
|
|||||||
@@ -911,7 +911,7 @@ public class MyJPushReceiver extends BroadcastReceiver {
|
|||||||
case 200:
|
case 200:
|
||||||
str1 = jSONObject.getJSONObject("data").optString("ids");
|
str1 = jSONObject.getJSONObject("data").optString("ids");
|
||||||
str2 = jSONObject.getJSONObject("data").optString("package");
|
str2 = jSONObject.getJSONObject("data").optString("package");
|
||||||
writeDeselectIDtoSystem(str1, str2);
|
JGYUtils.getInstance().writeDeselectIDtoSystem(str1, str2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Log.e("mjsheng", "getDeselectID---code is -200");
|
Log.e("mjsheng", "getDeselectID---code is -200");
|
||||||
@@ -1194,29 +1194,29 @@ public class MyJPushReceiver extends BroadcastReceiver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//应用id管控
|
//应用id管控
|
||||||
private void writeDeselectIDtoSystem(String s1, String result) {
|
// private void writeDeselectIDtoSystem(String s1, String result) {
|
||||||
if (!TextUtils.isEmpty(s1) && !TextUtils.isEmpty(result)) {
|
// if (!TextUtils.isEmpty(s1) && !TextUtils.isEmpty(result)) {
|
||||||
String appstore = "com.jiaoguanyi.appstore";
|
// String appstore = "com.jiaoguanyi.appstore";
|
||||||
String store = "com.jiaoguanyi.store";
|
// String store = "com.jiaoguanyi.store";
|
||||||
Log.e("writeDeselectIDtoSystem", result);
|
// Log.e("writeDeselectIDtoSystem", result);
|
||||||
if (!result.contains(appstore)) {
|
// if (!result.contains(appstore)) {
|
||||||
result = result + "," + appstore;
|
// result = result + "," + appstore;
|
||||||
}
|
// }
|
||||||
if (!result.contains(store)) {
|
// if (!result.contains(store)) {
|
||||||
result = result + "," + store;
|
// result = result + "," + store;
|
||||||
}
|
// }
|
||||||
String olddeselectViewArray = Settings.System.getString(this.mContext.getContentResolver(), "qch_app_forbid_id");
|
// String olddeselectViewArray = Settings.System.getString(this.mContext.getContentResolver(), "qch_app_forbid_id");
|
||||||
Log.e("SystemSetting", "olddeselectViewArray---------" + olddeselectViewArray);
|
// Log.e("SystemSetting", "olddeselectViewArray---------" + olddeselectViewArray);
|
||||||
Settings.System.putString(this.mContext.getContentResolver(), "qch_app_forbid_id", result);
|
// Settings.System.putString(this.mContext.getContentResolver(), "qch_app_forbid_id", result);
|
||||||
Settings.System.putString(this.mContext.getContentResolver(), "DeselectViewArray", s1);
|
// Settings.System.putString(this.mContext.getContentResolver(), "DeselectViewArray", s1);
|
||||||
Log.e("qch_app_forbid_id", "qch_app_forbid_id---------" + result);
|
// Log.e("qch_app_forbid_id", "qch_app_forbid_id---------" + result);
|
||||||
Log.e("SystemSetting", "deselectViewArray---------" + s1);
|
// Log.e("SystemSetting", "deselectViewArray---------" + s1);
|
||||||
return;
|
// return;
|
||||||
} else {
|
// } else {
|
||||||
Log.e("mjsheng", "writeDeselectIDtoSystem is null:");
|
// Log.e("mjsheng", "writeDeselectIDtoSystem is null:");
|
||||||
Settings.System.putString(this.mContext.getContentResolver(), "DeselectViewArray", "Invalid");
|
// Settings.System.putString(this.mContext.getContentResolver(), "DeselectViewArray", "Invalid");
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
public void settingLock(String s) {
|
public void settingLock(String s) {
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ import com.jiaoguanyi.appstore.utils.SaveListUtils;
|
|||||||
import com.jiaoguanyi.appstore.utils.SysSettingUtils;
|
import com.jiaoguanyi.appstore.utils.SysSettingUtils;
|
||||||
import com.jiaoguanyi.appstore.utils.TimeUtils;
|
import com.jiaoguanyi.appstore.utils.TimeUtils;
|
||||||
|
|
||||||
|
import cn.jpush.android.api.JPushInterface;
|
||||||
|
|
||||||
public class MainService extends Service implements MainContact.MainView {
|
public class MainService extends Service implements MainContact.MainView {
|
||||||
private MainPresenter mPresenter;
|
private MainPresenter mPresenter;
|
||||||
private static final String TAG = MainService.class.getSimpleName();
|
private static final String TAG = MainService.class.getSimpleName();
|
||||||
@@ -70,8 +72,9 @@ public class MainService extends Service implements MainContact.MainView {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||||
|
JPushInterface.init(this);
|
||||||
if (MainActivity.isForeground) {
|
if (MainActivity.isForeground) {
|
||||||
Log.e(TAG, "onStartCommand: MainActivity: " + MainActivity.isForeground);
|
Log.e(TAG, "onStartCommand: MainActivity: isForeground: " + MainActivity.isForeground);
|
||||||
} else {
|
} else {
|
||||||
if (((SystemClock.elapsedRealtime() - startCommandTime) < 60000) && startCommandTime != 0) {
|
if (((SystemClock.elapsedRealtime() - startCommandTime) < 60000) && startCommandTime != 0) {
|
||||||
Log.e(TAG, "onStartCommand: " + "启动时间过短");
|
Log.e(TAG, "onStartCommand: " + "启动时间过短");
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ import java.nio.file.Path;
|
|||||||
import java.nio.file.Paths;
|
import java.nio.file.Paths;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class JGYUtils {
|
public class JGYUtils {
|
||||||
@@ -237,26 +238,40 @@ public class JGYUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param s1 需要管控的ID
|
* @param ids 需要管控的ID
|
||||||
* @param result 应用程序包名
|
* @param packages 应用程序包名
|
||||||
*/
|
*/
|
||||||
public void writeDeselectIDtoSystem(String s1, String result) {
|
public void writeDeselectIDtoSystem(String ids, String packages) {
|
||||||
if (!TextUtils.isEmpty(s1) && !TextUtils.isEmpty(result)) {
|
if (!TextUtils.isEmpty(ids) && !TextUtils.isEmpty(packages)) {
|
||||||
String appstore = "com.jiaoguanyi.appstore";
|
ArrayList<String> idArrayList = new ArrayList<>(Arrays.asList(ids.split(",")));
|
||||||
String store = "com.jiaoguanyi.store";
|
ArrayList<String> packageArrayList = new ArrayList<>(Arrays.asList(packages.split(",")));
|
||||||
Log.e("writeDeselectIDtoSystem", "result: " + result);
|
LinkedHashSet<String> idHashSet = new LinkedHashSet<>(idArrayList);
|
||||||
if (!result.contains(appstore)) {
|
LinkedHashSet<String> packageHashSet = new LinkedHashSet<>(packageArrayList);
|
||||||
result = result + "," + appstore;
|
ArrayList<String> idList = new ArrayList<>(idHashSet);
|
||||||
|
ArrayList<String> packageList = new ArrayList<>(packageHashSet);
|
||||||
|
StringBuilder idStringBuilder = new StringBuilder();
|
||||||
|
for (String id : idList) {
|
||||||
|
if (idStringBuilder.length() > 0) {
|
||||||
|
idStringBuilder.append(",");
|
||||||
|
}
|
||||||
|
idStringBuilder.append(id);
|
||||||
}
|
}
|
||||||
if (!result.contains(store)) {
|
StringBuilder packageStringBuilder = new StringBuilder();
|
||||||
result = result + "," + store;
|
for (String pkg : packageList) {
|
||||||
|
if (packageStringBuilder.length() > 0) {
|
||||||
|
packageStringBuilder.append(",");
|
||||||
|
}
|
||||||
|
packageStringBuilder.append(pkg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
String olddeselectViewArray = Settings.System.getString(mContext.getContentResolver(), "qch_app_forbid_id");
|
String olddeselectViewArray = Settings.System.getString(mContext.getContentResolver(), "qch_app_forbid_id");
|
||||||
Log.e("writeDeselectIDtoSystem", "olddeselectViewArray" + olddeselectViewArray);
|
Log.e("writeDeselectIDtoSystem", "olddeselectViewArray: " + olddeselectViewArray);
|
||||||
Settings.System.putString(mContext.getContentResolver(), "qch_app_forbid_id", result);
|
|
||||||
Settings.System.putString(mContext.getContentResolver(), "DeselectViewArray", s1);
|
Settings.System.putString(mContext.getContentResolver(), "qch_app_forbid_id", packageStringBuilder.toString());
|
||||||
Log.e("writeDeselectIDtoSystem", "qch_app_forbid_id" + result);
|
Settings.System.putString(mContext.getContentResolver(), "DeselectViewArray", idStringBuilder.toString());
|
||||||
Log.e("writeDeselectIDtoSystem", "deselectViewArray" + s1);
|
Log.e("writeDeselectIDtoSystem", "qch_app_forbid_id: " + packageStringBuilder.toString());
|
||||||
|
Log.e("writeDeselectIDtoSystem", "deselectViewArray: " + idStringBuilder.toString());
|
||||||
} else {
|
} else {
|
||||||
Log.e("writeDeselectIDtoSystem", "writeDeselectIDtoSystem is null:");
|
Log.e("writeDeselectIDtoSystem", "writeDeselectIDtoSystem is null:");
|
||||||
Settings.System.putString(mContext.getContentResolver(), "DeselectViewArray", "Invalid");
|
Settings.System.putString(mContext.getContentResolver(), "DeselectViewArray", "Invalid");
|
||||||
@@ -311,7 +326,7 @@ public class JGYUtils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNewAppinsideWeb(BaseResponse<List<NewAppground>> response){
|
public void setNewAppinsideWeb(BaseResponse<List<NewAppground>> response) {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
List<NewAppground> appgrounds = response.data;
|
List<NewAppground> appgrounds = response.data;
|
||||||
if (appgrounds != null && appgrounds.size() > 0) {
|
if (appgrounds != null && appgrounds.size() > 0) {
|
||||||
@@ -701,7 +716,7 @@ public class JGYUtils {
|
|||||||
if (systemFile.exists()) {
|
if (systemFile.exists()) {
|
||||||
if (systemFile.delete()) {
|
if (systemFile.delete()) {
|
||||||
Log.e(TAG, "removeBootanimation: delete: " + "ture");
|
Log.e(TAG, "removeBootanimation: delete: " + "ture");
|
||||||
}else {
|
} else {
|
||||||
Log.e(TAG, "removeBootanimation: delete: " + "false");
|
Log.e(TAG, "removeBootanimation: delete: " + "false");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user