ServenScorpion / VirtualApp

support android 12 应用分身、模拟设备、模拟wifi、虚拟多开、钉钉打卡、企微打卡、插件开发、XP插件、模拟用户操作、java hook、c++ hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android10以上使用插件包启动应用时受到后台启动Activity的限制

shidaiwei626 opened this issue · comments

首次启动时加载第二个界面时出现问题,第二次启动就正常。错误log如下:

ActivityTaskManager: Background activity start [callingPackage: com.serven.scorpion; callingUid: 10109; isCallingUidForeground: false; callingUidHasAnyVisibleWindow: false; callingUidProcState: FOREGROUND_SERVICE; isCallingUidPersistentSystemProcess: false; realCallingUid: 10109; isRealCallingUidForeground: false; realCallingUidHasAnyVisibleWindow: false; realCallingUidProcState: FOREGROUND_SERVICE; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: null; isBgStartWhitelisted: false; intent: Intent {.....} flg=0x18280000 cmp=com.serven.scorpion.bit64/com.lody.virtual.client.stub.ShadowActivity$P1 (has extras) }; callerApp: ProcessRecord{5e8d15f 26722:com.serven.scorpion:x/u0a109}]
......
ActivityTaskManager: Abort background activity starts from 10119