commit | 8d4a88cebaa88389c2d4999b39ec31eba0cde3c1 | [log] [tgz] |
---|---|---|
author | Dibyendu Roy <dibyen@codeaurora.org> | Thu Dec 03 12:21:53 2015 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Dec 31 02:01:19 2015 -0800 |
tree | 223f1f75152fa5c695e70a7f1215565482559e57 | |
parent | 15a15bda8525dab8dfbfd669e4a06c9e9264759a [diff] |
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