我有一个强制用户限制DISALLOW_SHARE_LOCATION
的DevicePolicyManager应用。我注意到蓝牙在强制执行限制时停止发现设备。在logcat输出中,我发现了一些消息:
09-27 09:09:16.564 629-676/system_process W/BroadcastQueue: Appop Denial: receiving Intent { act=android.bluetooth.device.action.FOUND flg=0x10 (has extras) } to ProcessRecord{c929e01 1066:com.android.systemui/u0a15} (pid=1066, uid=10015) requires appop android:coarse_location due to sender com.android.bluetooth (uid 1002)
蓝牙发现似乎与android:coarse_location
相关联?据我所知,哪个DISALLOW_SHARE_LOCATION
禁用了。有解决方法吗?