Merge branch 'appbase' into apputils

This commit is contained in:
ZhanGSKen 2025-03-15 19:38:11 +08:00
commit d3b12207e0
4 changed files with 18 additions and 15 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 04:31:43 GMT 2025 #Sat Mar 15 15:30:02 HKT 2025
stageCount=0 stageCount=3
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.0 baseVersion=15.0
publishVersion=15.0.0 publishVersion=15.0.2
buildCount=1 buildCount=0
baseBetaVersion=15.0.1 baseBetaVersion=15.0.3

View File

@ -37,7 +37,10 @@ public class MainActivity extends Activity {
cbIsDebugMode.setChecked(GlobalApplication.isDebuging()); cbIsDebugMode.setChecked(GlobalApplication.isDebuging());
mLogView = findViewById(R.id.activitymainLogView1); mLogView = findViewById(R.id.activitymainLogView1);
if (GlobalApplication.isDebuging()) { mLogView.start(); } if (GlobalApplication.isDebuging()) {
mLogView.start();
ToastUtils.show("LogView start.");
}
} }
@Override @Override
@ -89,7 +92,7 @@ public class MainActivity extends Activity {
public void onTestSOS(View view) { public void onTestSOS(View view) {
Intent intent = new Intent(this, TestDemoService.class); Intent intent = new Intent(this, TestDemoService.class);
stopService(intent); stopService(intent);
if(App.isDebuging()) { if (App.isDebuging()) {
SOS.sosToAppBaseBeta(this, TestDemoService.class.getName()); SOS.sosToAppBaseBeta(this, TestDemoService.class.getName());
} else { } else {
SOS.sosToAppBase(this, TestDemoService.class.getName()); SOS.sosToAppBase(this, TestDemoService.class.getName());

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 04:31:43 GMT 2025 #Sat Mar 15 15:29:07 HKT 2025
stageCount=0 stageCount=3
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.0 baseVersion=15.0
publishVersion=15.0.0 publishVersion=15.0.2
buildCount=1 buildCount=0
baseBetaVersion=15.0.1 baseBetaVersion=15.0.3

View File

@ -28,6 +28,6 @@ public class ToastUtils {
} }
public static void show(String message) { public static void show(String message) {
Toast.makeText(getInstance().mContext, "", Toast.LENGTH_SHORT).show(); Toast.makeText(getInstance().mContext, message, Toast.LENGTH_SHORT).show();
} }
} }