Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf935409 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

Do not include hidden secure cameras in camera1: getNumberOfCameras



Apps cannot connect to hidden secure cameras. Do not include them in the
number of cameras reported by camera1 api.

Bug: 141247926

Test: Without CL -> mark all cameras as hidden secure cameras;
      atest FastBasicsTest.java#testCamera1 fails
      With CL -> mark all cameras as hidden secure cameras;
      atest FastBasicsTest.java#testCamera1 passes

Test: camera CTS

Merged-In: I9d1721fd5e94fa7f692c3da52aa667ae9247d368
Change-Id: I229a336bed6b2695e16c1457cb8f74c26b07f7e8
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 804b87d1
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