diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/base/App.java b/app/src/main/java/cc/niushuai/project/devcontrol/base/App.java index 0485961..ac051df 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/base/App.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/base/App.java @@ -2,6 +2,7 @@ package cc.niushuai.project.devcontrol.base; import android.content.Context; +import cc.niushuai.project.devcontrol.base.util.GlobalVariables; import cc.niushuai.project.devcontrol.db.DB; public class App { @@ -10,6 +11,8 @@ public class App { // 初始化数据库 initDb(context); + // 重建设备信息缓存 + GlobalVariables.initDeviceInfoMap(); } private static void initDb(Context context) {