current position:Home>I think the activity can be started in the background above Android Q. how to realize it

I think the activity can be started in the background above Android Q. how to realize it

2022-02-02 14:57:49 CSDN Q & A

The phenomenon and background of the problem

Understand that you are hook An expert in , I am a beginner hook, notice ams There is a way isBackgroundActivityStartsEnabled, I want to directly modify the return result of this method . But I see others demo All are hook A field . And this method calls a mAmInternal, I don't know how to get an agent .

Operation results and error reporting contents
My solution ideas and tried methods
What I want to achieve

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021457478338.html

Random recommended