version:1.6.0317
bugfixes:修复网络黑白名单报错 add:增加设置菜单管控,增加中性桌面包名
This commit is contained in:
@@ -864,6 +864,7 @@ public class JgyUtils {
|
||||
this.add("com.aoleyunos.dop9");
|
||||
this.add("com.aoleyunos.dop10");
|
||||
this.add("com.schoolos.cmcc");
|
||||
this.add("com.aoleyunos.natuer");
|
||||
}};
|
||||
|
||||
public void setAppNetwork(HashSet<String> blackList, HashSet<String> whiteList) {
|
||||
@@ -1456,6 +1457,7 @@ public class JgyUtils {
|
||||
this.add("com.aoleyunos.dop9");
|
||||
this.add("com.aoleyunos.dop10");
|
||||
this.add("com.schoolos.cmcc");
|
||||
this.add("com.aoleyunos.natuer");
|
||||
this.add("com.aoleyun.info");
|
||||
this.add("com.calculator.uiui");
|
||||
this.add("com.notepad.uiui");
|
||||
@@ -1581,6 +1583,7 @@ public class JgyUtils {
|
||||
if (data == null || data.size() <= 0) {
|
||||
return;
|
||||
}
|
||||
Log.e(TAG, "forceDownload: data size = " + data.size());
|
||||
List<String> list = new ArrayList<>();
|
||||
for (int i = 0; i < data.size(); i++) {
|
||||
ForceDownloadData forceDownloadData = data.get(i);
|
||||
@@ -1620,11 +1623,14 @@ public class JgyUtils {
|
||||
if (app_version_code > appVersionCode) {
|
||||
Log.e("forceDownload ", "download URL " + app_url);
|
||||
Utils.ariaDownload(mContext, app_url, jsonObject);
|
||||
} else {
|
||||
Log.e(TAG, "forceDownload: installed skip");
|
||||
}
|
||||
} else {
|
||||
Log.e("forceDownload ", "download URL " + app_url);
|
||||
Utils.ariaDownload(mContext, app_url, jsonObject);
|
||||
}
|
||||
startServices(mContext);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1874,6 +1880,7 @@ public class JgyUtils {
|
||||
this.add("com.aoleyunos.dop9");
|
||||
this.add("com.aoleyunos.dop10");
|
||||
this.add("com.schoolos.cmcc");
|
||||
this.add("com.aoleyunos.natuer");
|
||||
}};
|
||||
|
||||
HashSet<String> aihuaAppList = new HashSet<String>() {{
|
||||
@@ -3138,14 +3145,25 @@ public class JgyUtils {
|
||||
Log.e(TAG, "wakeUpNotify: ");
|
||||
//启动通知
|
||||
Intent bootIntent = new Intent(BootReceiver.BOOT_COMPLETED);
|
||||
bootIntent.setPackage("com.aoleyun.info");
|
||||
bootIntent.setComponent(new ComponentName(PACKAGE_NOTIFY, CLASS_NOTIFY));
|
||||
mContext.sendBroadcast(bootIntent);
|
||||
|
||||
// Intent intent = new Intent();
|
||||
// intent.setComponent(new ComponentName("com.aoleyun.info", "com.aoleyun.info.service.main.MainService"));
|
||||
// intent.setPackage("com.aoleyun.info");
|
||||
//// intent.setClassName("com.aoleyun.info", "com.aoleyun.info.service.main.MainService");
|
||||
// try {
|
||||
// mContext.startService(intent);
|
||||
// } catch (Exception e) {
|
||||
// Log.e(TAG, "wakeUpNotify: " + e.getMessage());
|
||||
// }
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void wakeUpAoleyunAPP() {
|
||||
// wakeUpAppstore();
|
||||
// wakeUpNotify();
|
||||
wakeUpAppstore();
|
||||
wakeUpNotify();
|
||||
}
|
||||
|
||||
public static String getModel() {
|
||||
|
||||
Reference in New Issue
Block a user