Explain in detail how Android uses @ hide’s API

Explain in detail how Android uses @ hide's API

I want to modify the code of mediaplaybackservice. Java (/ packages / apps / Music) this morning.

Add audiomanager.stream_ Change music to audiomanager.stream_ TTS。

Discover audiosystem.java (/ frameworks / base. Media / Java / Android / media)

AudioManager.java(/frameworks/base.media/java/android/media)

It's a hidden API. I searched it and found that just delete the comments.

It is found that the compilation fails, and then it is found that the make update API needs to be executed before making. So you can compile it.

After adding the system API or modifying @ hide's API, you need to execute make update API to update the API, and then make.

If you have any questions, please leave a message or go to the community of this site for exchange and discussion. Thank you for reading. I hope it can help you. Thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>