GlobalApplication函数参数类型调整

This commit is contained in:
ZhanGSKen
2025-09-27 21:02:02 +08:00
parent 6656161903
commit 44679d0c8a
3 changed files with 8 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Fri Sep 26 05:36:14 HKT 2025
#Sat Sep 27 13:00:47 GMT 2025
stageCount=9
libraryProject=libappbase
baseVersion=15.10
publishVersion=15.10.8
buildCount=0
buildCount=1
baseBetaVersion=15.10.9

View File

@@ -22,12 +22,12 @@ public class GlobalApplication extends Application {
GlobalApplication.isDebuging = isDebuging;
}
public static void saveDebugStatus(GlobalApplication application) {
APPModel.saveBeanToFile(application.getAPPModelFilePath(application), new APPModel(GlobalApplication.isDebuging));
public static void saveDebugStatus(Context context) {
APPModel.saveBeanToFile(getAPPModelFilePath(context), new APPModel(GlobalApplication.isDebuging));
}
static String getAPPModelFilePath(GlobalApplication application) {
return application.getDataDir().getPath() + "/APPModel.json";
static String getAPPModelFilePath(Context context) {
return context.getDataDir().getPath() + "/APPModel.json";
}
public static boolean isDebuging() {