version:1.2.9
fix:修复没有微信时打开报错 update:新增单独联系人页面
This commit is contained in:
@@ -32,6 +32,11 @@ public class AppManager {
|
||||
private static final String SHOW_PACKAGE_KEY = "SHOW_PACKAGE_KEY";
|
||||
private static final String ADD_PACKAGE_KEY = "ADD_PACKAGE_KEY";
|
||||
|
||||
/*客服中心 自定义包名*/
|
||||
public static final String SERVICE_PACKAGE = "xxpatx.os.service";
|
||||
/*联系人 自定义包名*/
|
||||
public static final String CONTACT_PACKAGE = "xxpatx.os.contact";
|
||||
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
private static AppManager sInstance;
|
||||
private Context mContext;
|
||||
|
||||
@@ -120,8 +120,13 @@ public class AppStatusManager {
|
||||
dailyAppBeanList.add(appSelectBean);
|
||||
}
|
||||
}
|
||||
if (hidedAppSet.contains("xxpatx.os.service")) {
|
||||
DailyAppBean serviceIcon = new DailyAppBean("客服中心", "xxpatx.os.service");
|
||||
if (hidedAppSet.contains(AppManager.CONTACT_PACKAGE)) {
|
||||
DailyAppBean contactIcon = new DailyAppBean("联系人", AppManager.CONTACT_PACKAGE);
|
||||
dailyAppBeanList.add(0, contactIcon);
|
||||
}
|
||||
|
||||
if (hidedAppSet.contains(AppManager.SERVICE_PACKAGE)) {
|
||||
DailyAppBean serviceIcon = new DailyAppBean("客服中心", AppManager.SERVICE_PACKAGE);
|
||||
dailyAppBeanList.add(0, serviceIcon);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user