summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-11-13 11:55:32 -0800
committerEmilian Peev <epeev@google.com>2019-11-13 14:16:12 -0800
commitf7824ac70d3f6d731576b1d7d6172eb3a9ea0921 (patch)
tree5e750ce1ee38592ced08ccc8d70255799c66accf /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentbc7671b9fbb36963b71d6e505b0db6c769df0225 (diff)
Use correct calling identity during camera permission check
UVC clients need to acquire the CAMERA permission before trying to call open. The permission check is currently done via calls to "checkCallingPermission". In case the calling identity gets cleared, the check will always fail. To resolve this, use "checkPermission" with appropriate identity arguments. Bug: 144433314 Test: Manual using application, CtsVerifier USB Device test Change-Id: I5318fbb4426bec1448ecc398c86ea96500bb3189
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions