If you are trying to change the priority of native threads, then this Post might help you.
Is there a way to assign high priority to a thread or an application in Android?
-
29-11-2021 - |
Question
I wrote an Android app that receives UDP packets (that are being streamed) and plays then right when they are received. The app works fine until I click on another app on the Android cell phone, at that time I can hear clicking noise.
Is there any way to get ride of this? I thought if I can assign a high priority to the thread responsible to receive and play packets, or if I can assign a high priority to this app may help this.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow