去掉butterknife

This commit is contained in:
2024-08-26 10:37:52 +08:00
parent 6068bd4bb3
commit 84e3fa87fa
63 changed files with 933 additions and 1159 deletions

View File

@@ -111,7 +111,7 @@ import static android.app.ActivityManager.RECENT_IGNORE_UNAVAILABLE;
public class JGYUtils {
private static final String TAG = JGYUtils.class.getSimpleName();
private static final String TAG = "JGYUtils";
/*九学王*/
public static final String JXW_LAUNCHER_PACKAGE_NAME = "com.jxw.launcher";
@@ -1304,9 +1304,9 @@ public class JGYUtils {
pkgSet.addAll(ApkUtils.desktopAPP);
pkgSet.addAll(ApkUtils.aoleyunAPP);
pkgSet.addAll(ApkUtils.mJxwApp);
if ("AS001".equals(Build.MODEL)) {
if ("K101".equals(Build.MODEL)||"AS001".equals(Build.MODEL)) {
pkgSet.addAll(ApkUtils.aihuaApp);
pkgSet.addAll(aihuaAppList);
}
if ("D1".equals(Build.MODEL)) {
pkgSet.addAll(ApkUtils.dongwa);
@@ -1668,7 +1668,9 @@ public class JGYUtils {
this.add("com.aoleyunos.dop1");
this.add("com.aoleyunos.dop2");
this.add("com.aoleyunos.dop3");
}};
HashSet<String> aihuaAppList = new HashSet<String>() {{
//aihua
this.add("com.android.mms");
this.add("com.android.fmradio");
@@ -1684,10 +1686,11 @@ public class JGYUtils {
this.add("com.tongyi.aistudent");
}};
/**
* 隐藏系统所有应用
* 除了设置,图库、视频、设置、文件管理器、通话、短信、日历、时钟、计算器
*/
/**
* 隐藏系统所有应用
* 除了设置,图库、视频、设置、文件管理器、通话、短信、日历、时钟、计算器
*/
public void hideSystemAPP() {
PackageManager pm = mContext.getPackageManager();
try {