简化代码
This commit is contained in:
parent
c3ccfd3c23
commit
dc000567cd
@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Tue Mar 25 03:30:36 HKT 2025
|
||||
#Mon Mar 24 19:46:51 GMT 2025
|
||||
stageCount=17
|
||||
libraryProject=libapputils
|
||||
baseVersion=15.0
|
||||
publishVersion=15.0.16
|
||||
buildCount=0
|
||||
buildCount=1
|
||||
baseBetaVersion=15.0.17
|
||||
|
@ -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 {
|
||||
|
@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Tue Mar 25 03:30:22 HKT 2025
|
||||
#Mon Mar 24 19:46:51 GMT 2025
|
||||
stageCount=17
|
||||
libraryProject=libapputils
|
||||
baseVersion=15.0
|
||||
publishVersion=15.0.16
|
||||
buildCount=0
|
||||
buildCount=1
|
||||
baseBetaVersion=15.0.17
|
||||
|
@ -1,14 +0,0 @@
|
||||
package cc.winboll.studio.libapputils.intent;
|
||||
|
||||
/**
|
||||
* @Author ZhanGSKen@QQ.COM
|
||||
* @Date 2025/01/17 19:42:21
|
||||
* @Describe 应用活动类型汇总
|
||||
*/
|
||||
public class action {
|
||||
|
||||
static final String _PRE = cc.winboll.studio.libapputils.intent.action.class.getName();
|
||||
|
||||
public static final String DEBUGVIEW = _PRE + ".DEBUGVIEW";
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user