Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda表达式断链问题 #72

Open
firmianay opened this issue Feb 2, 2024 · 2 comments
Open

Lambda表达式断链问题 #72

firmianay opened this issue Feb 2, 2024 · 2 comments

Comments

@firmianay
Copy link
Contributor

在创建SimpleBroadcastReceiver对象时接收一个Consumer并重写accept()方法,当接收到广播时在onReceive中调用Consumer.accept(intent)

但appshark无法跟踪进入accept()函数,导致断链。

image

image

@nkbai
Copy link
Collaborator

nkbai commented Feb 4, 2024

这种方式,尤其是framework导致的调用,需要手工补充调用关系。

@firmianay
Copy link
Contributor Author

这种方式,尤其是framework导致的调用,需要手工补充调用关系。

补充在EngineConfig.json里面的Callback吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants