The phone client won't start when the server on PC is on and calling the START intent, the info in logcat shows that system has denied the broadcasting intent. During this process, no prompt asks for permission on phone side.
I guess there's some permission checking and granting requesting need to be done in the android client?
Here's the logcat output.
10-25 16:35:29.436 2739 2757 D com.android.server.pm.PackageManagerServiceInjector: MIUILOG- permission denied android.permission.WRITE_SECURE_SETTINGS 10-25 16:35:29.436 2739 2757 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } from null (pid=15564, uid=2000) requires android.permission.WRITE_SECURE_SETTINGS due to receiver com.genymobile.gnirehtet/.GnirehtetControlReceiver 10-25 16:35:29.438 15564 15564 D AndroidRuntime: Shutting down VM
The phone client won't start when the server on PC is on and calling the START intent, the info in logcat shows that system has denied the broadcasting intent. During this process, no prompt asks for permission on phone side.
I guess there's some permission checking and granting requesting need to be done in the android client?
Here's the logcat output.
10-25 16:35:29.436 2739 2757 D com.android.server.pm.PackageManagerServiceInjector: MIUILOG- permission denied android.permission.WRITE_SECURE_SETTINGS
10-25 16:35:29.436 2739 2757 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } from null (pid=15564, uid=2000) requires android.permission.WRITE_SECURE_SETTINGS due to receiver com.genymobile.gnirehtet/.GnirehtetControlReceiver 10-25 16:35:29.438 15564 15564 D AndroidRuntime: Shutting down VM
Thanks!