version: cude 5.1

fix:
update:适配台电
This commit is contained in:
2022-06-11 17:58:04 +08:00
parent b917401e86
commit cdaaaaed91
14 changed files with 323 additions and 240 deletions

View File

@@ -558,7 +558,7 @@ public class ApkUtils {
Observable.create(new ObservableOnSubscribe<String>() {
@Override
public void subscribe(ObservableEmitter<String> emitter) throws Exception {
Log.e("UninstallAPP", "call " + Thread.currentThread().getName());
// Log.e("UninstallAPP", "call " + Thread.currentThread().getName());
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
ApkUtils.uninstall(context, pkg);
} else {
@@ -1146,11 +1146,11 @@ public class ApkUtils {
Log.i("addShortcut", "packages: " + s);
}
String installedList = installedListBuilder.toString();
boolean qch_force_app = Settings.System.putString(context.getContentResolver(), "qch_launcher_icon_app", installedList);
boolean aole_force_app = Settings.System.putString(context.getContentResolver(), "qch_launcher_icon_app", installedList);
// String old = Settings.System.getString(context.getContentResolver(), "qch_launcher_icon_app");
// Log.e("addShortcut", old);
Log.e("addShortcut", "installedList:" + installedList);
Log.e("addShortcut", "putstring:" + qch_force_app);
Log.e("addShortcut", "putstring:" + aole_force_app);
}
private static Set<String> AoleyunOSApp = new HashSet<String>() {{