Allow creating and starting of AudioRecord if appop is ignored
According to the documentation MODE_IGNORED is supposed to cause a silent failure so in this case we want to successfully create and start the recording but the difference between this an MODE_ALLOWED is that the audio content should be silenced. Test: Install sdk 22 app, revoke permission, observe no more crash Observe GCA doesn't crash anymore when trying to record a video using the microphone toggle atest NoAudioPermissionTest AudioRecordAppOpTest AudioRecordAppOpTest atest audiopolicy_tests Fixes: 185939466 Change-Id: I6e6c6ab36c597bdf0f71f28fe6350f83d4ccb601
Loading
Please register or sign in to comment