GlobalApplication函数参数类型调整
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user