FM: Fix ANR due to incorrect error handling in stopRecording
stopRecording() API gets called from onRecordingStopped() callback function. As a result, when recording can't be stopped successfully in error scenarios, stopRecording() gets called in loop. This fix removes the call stopRecording() from callback function and does the required UI update. CRs-Fixed: 943288 Change-Id: I0e2ea2adeb0c603f16541d04a5a244bc1fcd51d7
Loading
Please register or sign in to comment