添加调试信息

This commit is contained in:
ZhanGSKen 2025-02-14 02:59:52 +08:00
parent 50490096b4
commit be39eef6e7
3 changed files with 9 additions and 7 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Feb 13 13:30:31 GMT 2025
#Thu Feb 13 18:58:47 GMT 2025
stageCount=1
libraryProject=libappbase
baseVersion=1.5
publishVersion=1.5.0
buildCount=17
buildCount=18
baseBetaVersion=1.5.1

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Feb 13 13:30:31 GMT 2025
#Thu Feb 13 18:58:47 GMT 2025
stageCount=1
libraryProject=libappbase
baseVersion=1.5
publishVersion=1.5.0
buildCount=17
buildCount=18
baseBetaVersion=1.5.1

View File

@ -17,14 +17,16 @@ public class SOS {
Intent intent = new Intent(context.getString(R.string.action_sos));
intent.putExtra("sosPackage", context.getPackageName());
intent.putExtra("message", "SOS");
String szToPackage = "";
if (GlobalApplication.isDebuging()) {
intent.setPackage("cc.winboll.studio.appbase.beta");
szToPackage = "cc.winboll.studio.appbase.beta";
} else {
intent.setPackage("cc.winboll.studio.appbase");
szToPackage = "cc.winboll.studio.appbase";
}
intent.setPackage(szToPackage);
context.sendBroadcast(intent);
LogUtils.d(TAG, "SOS Send To WinBoll");
LogUtils.d(TAG, String.format("SOS Send To WinBoll. (szToPackage : %s)", szToPackage));
//ToastUtils.show("SOS Send To WinBoll");
}