feat: 显示通知,应用安装之后获取应用管控

This commit is contained in:
2026-04-21 16:44:40 +08:00
parent 5eb341ca72
commit 4b4daa42cf
6 changed files with 24 additions and 23 deletions

View File

@@ -245,7 +245,11 @@ public class JgyUtils {
public static void init(Context context) {
if (sInstance == null) {
Log.e(TAG, "init: ");
sInstance = new JgyUtils(context);
synchronized (JgyUtils.class) {
if (sInstance == null) {
sInstance = new JgyUtils(context);
}
}
}
}
@@ -3009,6 +3013,7 @@ public class JgyUtils {
}
}
@Deprecated
public List<String> getHidePackage() {
String jsonString = cacheHelper.getAsString(UrlAddress.GET_HIDE_DESKTOPICON);
//为 "" 是已经请求成功的