Commit 9baa3206 by Maurits van Beusekom Committed by GitHub

Merge pull request #184 from babulpatel1309/answer_phone_call_permission

- Added ANSWER_PHONE_CALLS permission for API 26 and above to support…
parents 59a3c588 cf6c338c
......@@ -623,6 +623,9 @@ public class PermissionHandlerPlugin implements MethodCallHandler {
if (hasPermissionInManifest(Manifest.permission.BIND_CALL_REDIRECTION_SERVICE))
permissionNames.add(Manifest.permission.BIND_CALL_REDIRECTION_SERVICE);
if (VERSION.SDK_INT >= VERSION_CODES.O && hasPermissionInManifest(Manifest.permission.ANSWER_PHONE_CALLS))
permissionNames.add(Manifest.permission.ANSWER_PHONE_CALLS);
break;
case PERMISSION_GROUP_SENSORS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment