1.4.0428 增加Huaruian8768
This commit is contained in:
@@ -255,7 +255,7 @@ public class LoaderTask implements Runnable {
|
||||
/**
|
||||
* 需要隐藏的图标
|
||||
*/
|
||||
private HashSet<String> hideApp = new HashSet<String>() {{
|
||||
private static final HashSet<String> hideApp = new HashSet<String>() {{
|
||||
this.add(BuildConfig.APPLICATION_ID);
|
||||
this.add("com.android.quicksearchbox");
|
||||
this.add("com.st.nfc.dta.mobile");
|
||||
@@ -263,12 +263,13 @@ public class LoaderTask implements Runnable {
|
||||
this.add("com.mediatek.factorymode");
|
||||
this.add("org.chromium.browser");
|
||||
this.add("com.android.email");
|
||||
this.add("com.android.soundrecorder");
|
||||
}};
|
||||
|
||||
/**
|
||||
* 系统应用只显示这几个
|
||||
*/
|
||||
public static HashSet<String> showApp = new HashSet<String>() {{
|
||||
public static final HashSet<String> showApp = new HashSet<String>() {{
|
||||
// this.add(BuildConfig.APPLICATION_ID);
|
||||
//aoleyun
|
||||
this.add("com.aoleyun.sn");
|
||||
@@ -337,18 +338,18 @@ public class LoaderTask implements Runnable {
|
||||
/*系统应用*/
|
||||
if (JGYUtils.getInstance().getDeviceIsLocked() && aihuaUnlock != 1) {
|
||||
if ((app.getApplicationFlags() & ApplicationInfo.FLAG_SYSTEM) == 1) {
|
||||
if (!showApp.contains(app.getApplicationInfo().packageName)) {
|
||||
if (hideApp.contains(app.getApplicationInfo().packageName)) {
|
||||
Log.e("verifyApplications", "skip1: " + app.getApplicationInfo().packageName);
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
if (TextUtils.isEmpty(whiteList)) {
|
||||
if (!showApp.contains(app.getApplicationInfo().packageName)) {
|
||||
if (hideApp.contains(app.getApplicationInfo().packageName)) {
|
||||
Log.e("verifyApplications", "skip2: " + app.getApplicationInfo().packageName);
|
||||
continue;
|
||||
}
|
||||
} else if (!whiteList.contains(app.getApplicationInfo().packageName)) {
|
||||
if (!showApp.contains(app.getApplicationInfo().packageName)) {
|
||||
if (hideApp.contains(app.getApplicationInfo().packageName)) {
|
||||
Log.e("verifyApplications", "skip3: " + app.getApplicationInfo().packageName);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user