简化代码

This commit is contained in:
ZhanGSKen
2025-03-25 03:47:45 +08:00
parent c3ccfd3c23
commit dc000567cd
4 changed files with 9 additions and 23 deletions

View File

@@ -79,11 +79,11 @@ final public class MainActivity extends Activity {
if (resolveInfoList.size() > 0) {
// 传入的Intent action在Activity清单的intent-filter的action节点里有定义
if (intent.getAction() != null) {
if (intent.getAction().equals(cc.winboll.studio.libapputils.intent.action.DEBUGVIEW)) {
App.setIsDebug(true);
//ToastUtils.show!("WinBollApplication.setIsDebug(true) by action : " + intent.getAction());
}
// if (intent.getAction().equals(cc.winboll.studio.libapputils.intent.action.DEBUGVIEW)) {
// App.setIsDebug(true);
// //ToastUtils.show!("WinBollApplication.setIsDebug(true) by action : " + intent.getAction());
//
// }
}
return true;
} else {