I have rooted phone where i am running my application which need to answer a incoming phone call. Currently getting an exception like this:
java.lang.SecurityException: Neither user 10174 nor current process has android.permission.MODIFY_PHONE_STATE.
As i have a rooted phone and it is require a runtime permission so how i can add it without showing a permission dialog as describe here