Android USB Automatically Grant Permission

后端 未结 3 860
孤城傲影
孤城傲影 2020-12-16 08:58

Is there anyway to access the IUsbManager Interface class to call the service.grantDevicePermission() method to automatically set the permission for the USB device without a

3条回答
  •  盖世英雄少女心
    2020-12-16 09:11

    Of course not. That would invalidate the whole point of having permissions in the first place. But the user can elect always to allow specific connections.

提交回复
热议问题