android.permission.ANSWER_PHONE_CALLS How I can use? for auto answer

后端 未结 3 1441
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 04:59

As per android developer documentation

Android 8.0 (API level 26) introduces several new permissions related to telephony: The ANSWER_PHONE_CALLS p

3条回答
  •  醉梦人生
    2021-01-07 05:40

    Updates from Google :

    telecomManager.acceptRingingCall();
    telecomManager.acceptRingingCall(false);
    telecomManager.endCall();
    

    All these three commands are deprecated on and from Android Q

    click to verify here

提交回复
热议问题