Programmatically disconnect call in android Marshmallow version
问题 I need to disconnect call through code in upper version of android. As per document we are not authorized to do so as it is private. While searching over SO I found different solutions that is working till lollipop. Inline is what approach I have tried till now. Approach One : public void disconnectCall(String type){ try { String serviceManagerName = "android.os.ServiceManager"; String serviceManagerNativeName = "android.os.ServiceManagerNative"; String telephonyName = "com.android.internal