Fix camera check in CameraMicIndicatorsPermissionTest.
Copying the U version of the CL https://android-review.googlesource.com/2777627 to the new location of the test code in main. FEATURE_CAMERA corresponds to "camera facing away from the screen". https://developer.android.com/reference/android/content/pm/PackageManager#FEATURE_CAMERA Since the front camera also triggers the indicator, the check should refer to FEATURE_CAMERA_ANY instead. Bug: 300037859, 254378743 Test: atest CameraMicIndicatorsPermissionTest Change-Id: I3ca866e676364b9f2dee7ac8057923eae945e219
Loading
Please register or sign in to comment