CompanionDeviceManager doesn't work on v59, Quest 2 can't connect BLE device
We have project for Oculus VR headsets which connects to external BLE devices, receive sensor data and represent it in VR. Recently Bluetooth and Location permissions were prohibited on Oculus so our functionality with BLE devices was broken and doesn't work on v59. Even if Location permission is enabled in app settings in logs it says that this permission is disabled.
Documentation says we should use CompanionDeviceManager API for that purpose as alternative solution. The problem is that CompanionDeviceManager also doesn't work on v59. It shows system dialog with ProgressBar but after waiting for a short time it closes without finding Bluetooth devices. In the logs can be found a message from com.android.companiondevicemanager with a text "No adapter attached, skipping layout". It looks like internal bug with RecyclerView implementation on Oculus side.
The same code works perfectly on Google Pixel 7 with Android 14 but on Oculus our project doesn't work for both approaches – Bluetooth and CompanionDeviceManager.
Is there any workaround to make it work on v59? When will it be fixed by Oculus team?
