I'm using a Samsung Galaxy A80, which has a depth sensor that according to the documentation is supported by ARCore. When calling Session.getSupportedCameraConfigs() and passing in a filter that has depthSensorUsage set to REQUIRE_AND_USE, no configurations are returned. When I don't set the depthSensorUsage in the filter I get 3 available configurations back. I'm assuming that ARCore doesn't recognize that my phone has a ToF sensor.
VERSIONS USED
Android Studio: Android Studio Electric Eel | 2022.1.1 Patch 2
Device manufacturer, model, and O/S: Samsung galaxy A80, Android 10
Google Play Services for AR (ARCore): 1.36.230390483
ADDITIONAL COMMENTS
I had the same exact problem when using Unity instead of android studio.
SPECIFIC ISSUE ENCOUNTERED
I'm using a Samsung Galaxy A80, which has a depth sensor that according to the documentation is supported by ARCore. When calling Session.getSupportedCameraConfigs() and passing in a filter that has depthSensorUsage set to REQUIRE_AND_USE, no configurations are returned. When I don't set the depthSensorUsage in the filter I get 3 available configurations back. I'm assuming that ARCore doesn't recognize that my phone has a ToF sensor.
VERSIONS USED
ADDITIONAL COMMENTS
I had the same exact problem when using Unity instead of android studio.