version:1.3.8
fix: update:修复不能自动接听,增加桌面地址显示开关
This commit is contained in:
@@ -30,9 +30,10 @@ public class AppStatusManager {
|
||||
private Set<String> hidedAppSet;
|
||||
|
||||
public static final String APP_STATUS_MANAGER_KEY = "AppStatusManagerSet";
|
||||
|
||||
private static final Set<String> defaultHiedApp = new HashSet<String>() {{
|
||||
this.add("om.android.fmradio");//收音机
|
||||
// this.add("com.android.mms");//信息
|
||||
this.add("com.android.mms");//信息
|
||||
this.add("com.android.gallery3d");
|
||||
this.add("com.android.documentsui");
|
||||
this.add("com.android.calculator2");
|
||||
@@ -71,6 +72,13 @@ public class AppStatusManager {
|
||||
mMMKV.encode(CommonConfig.HIDE_CALENDAR_KEY, true);
|
||||
Log.e(TAG, "AppStatusManager: hide calendar");
|
||||
}
|
||||
long oldVersionCode = mMMKV.decodeLong(CommonConfig.APP_VERSION_CODE, 0);
|
||||
if (oldVersionCode == 0) {
|
||||
addHidedApp("com.android.stk");
|
||||
addHidedApp("com.tencent.mm");
|
||||
addHidedApp("com.ss.android.ugc.aweme");
|
||||
addHidedApp("com.android.mms");
|
||||
}
|
||||
}
|
||||
|
||||
public static void init(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user