Android 9上起不了服务
Acjesphel opened this issue · comments
在Android 9上,DaemonStrategy23的:
initBroadcastParcel(context, configs.DAEMON_ASSISTANT_CONFIG.RECEIVER_NAME);
sendBroadcastByAmsBinder();
会爆出 Unable to find app for caller android.app.IApplicationThread
Android 9 中调用startForgroundServeice() 开启前台服务和通知,提升进程优先级, 另外添加锁屏清理白名单就可以了;