commit | 3ae6b407413376a96a6fec3a0fc65c566cf7dcbe | [log] [tgz] |
---|---|---|
author | himta ram <hram@codeaurora.org> | Fri Jun 15 12:56:44 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Jun 16 22:08:05 2018 -0700 |
tree | 0f8a73cb604ae13f06ffb94b1382f6f48692f686 | |
parent | 49c984918cb141284a838c8b952d419a55d22538 [diff] |
FM: set RecordSink flag before thread creation Change-Id: I7d0740c5243aac06b4e7b3c259e1d445e1effdaf
diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java index decf200..a0cfbdb 100644 --- a/fmapp2/src/com/caf/fmradio/FMRadioService.java +++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java
@@ -407,9 +407,9 @@ Log.d(LOGTAG, "startRecordSink " + AudioSystem.getForceUse(AudioSystem.FOR_MEDIA)); + mIsRecordSink = true; createRecordSinkThread(); - mIsRecordSink = true; } private synchronized void createRecordSinkThread() {