< DESCRIBE THE CONTEXT OF THE ISSUE >
We always call getDevices() which eventually requests for permissions for camera and microphone even when media is not enabled. This fix will only make a call to getDevices() via handelDeviceLogging when media is enabled.
by making the following changes
< DESCRIBE YOUR CHANGES >
Change Type
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[ ] Tooling change
[ ] Internal code refactor
The following scenarios where tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
COMPLETES #< INSERT LINK TO ISSUE >
https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-506202
This pull request addresses
< DESCRIBE THE CONTEXT OF THE ISSUE > We always call getDevices() which eventually requests for permissions for camera and microphone even when media is not enabled. This fix will only make a call to getDevices() via handelDeviceLogging when media is enabled.
by making the following changes
< DESCRIBE YOUR CHANGES >
Change Type
The following scenarios where tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
I certified that
[ ] I have read and followed contributing guidelines
[ ] I discussed changes with code owners prior to submitting this pull request
[ ] I have not skipped any automated checks
[ ] All existing and new tests passed
[ ] I have updated the documentation accordingly
Make sure to have followed the contributing guidelines before submitting.