Skip to content
Commit 8f60e19e authored by Kazuhiro Inaba's avatar Kazuhiro Inaba
Browse files

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
parent 161934a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment