GlobalApplication函数参数类型调整
This commit is contained in:
		| @@ -1,8 +1,8 @@ | |||||||
| #Created by .winboll/winboll_app_build.gradle | #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 | stageCount=9 | ||||||
| libraryProject=libappbase | libraryProject=libappbase | ||||||
| baseVersion=15.10 | baseVersion=15.10 | ||||||
| publishVersion=15.10.8 | publishVersion=15.10.8 | ||||||
| buildCount=0 | buildCount=1 | ||||||
| baseBetaVersion=15.10.9 | baseBetaVersion=15.10.9 | ||||||
|   | |||||||
| @@ -1,8 +1,8 @@ | |||||||
| #Created by .winboll/winboll_app_build.gradle | #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 | stageCount=9 | ||||||
| libraryProject=libappbase | libraryProject=libappbase | ||||||
| baseVersion=15.10 | baseVersion=15.10 | ||||||
| publishVersion=15.10.8 | publishVersion=15.10.8 | ||||||
| buildCount=0 | buildCount=1 | ||||||
| baseBetaVersion=15.10.9 | baseBetaVersion=15.10.9 | ||||||
|   | |||||||
| @@ -22,12 +22,12 @@ public class GlobalApplication extends Application { | |||||||
|         GlobalApplication.isDebuging = isDebuging; |         GlobalApplication.isDebuging = isDebuging; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|     public static void saveDebugStatus(GlobalApplication application) { |     public static void saveDebugStatus(Context context) { | ||||||
|         APPModel.saveBeanToFile(application.getAPPModelFilePath(application), new APPModel(GlobalApplication.isDebuging)); |         APPModel.saveBeanToFile(getAPPModelFilePath(context), new APPModel(GlobalApplication.isDebuging)); | ||||||
|     } |     } | ||||||
| 	 | 	 | ||||||
|     static String getAPPModelFilePath(GlobalApplication application) { |     static String getAPPModelFilePath(Context context) { | ||||||
|         return application.getDataDir().getPath() + "/APPModel.json"; |         return context.getDataDir().getPath() + "/APPModel.json"; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public static boolean isDebuging() { |     public static boolean isDebuging() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen