添加应用基础数据模型

This commit is contained in:
ZhanGSKen
2025-03-25 03:23:45 +08:00
parent c203557a6a
commit 64051bb9fe
6 changed files with 108 additions and 28 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Mon Mar 24 14:06:25 HKT 2025
#Mon Mar 24 19:22:39 GMT 2025
stageCount=10
libraryProject=libappbase
baseVersion=15.0
publishVersion=15.0.9
buildCount=0
buildCount=5
baseBetaVersion=15.0.10

View File

@@ -19,7 +19,6 @@ public class App extends GlobalApplication {
@Override
public void onCreate() {
super.onCreate();
GlobalApplication.setIsDebuging(this, BuildConfig.DEBUG);
mSOSCenterServiceReceiver = new SOSCenterServiceReceiver();
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(SOS.ACTION_SOS);

View File

@@ -17,6 +17,7 @@ import cc.winboll.studio.libappbase.LogView;
import cc.winboll.studio.libappbase.sos.SOS;
import cc.winboll.studio.libappbase.utils.ToastUtils;
import cc.winboll.studio.libappbase.widgets.StatusWidget;
import cc.winboll.studio.libappbase.APPBaseModel;
public class MainActivity extends Activity {
@@ -59,7 +60,8 @@ public class MainActivity extends Activity {
}
public void onSwitchDebugMode(View view) {
GlobalApplication.setIsDebuging(this, ((CheckBox)view).isChecked());
boolean isDebuging = ((CheckBox)view).isChecked();
GlobalApplication.setIsDebuging(isDebuging);
}
public void onStartCenter(View view) {