From 05a79e509424a40a4852ed51e4dbc2230217b6e7 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Mon, 24 Oct 2022 17:43:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=AF=E5=8A=A8=E6=97=B6=E9=87=8D?= =?UTF-8?q?=E5=BB=BA=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/cc/niushuai/project/devcontrol/base/App.java | 3 +++ 1 file changed, 3 insertions(+) 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) {