Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79e49a07 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Return the record state locked

This field is always accessed with a lock held.
See Change-Id: I502b7401196c42932c9667ef73eb4cae16c3da16

Change-Id: I0900b60cd6b9076868532f951db370ccd5a0312e
parent 3f0af8be
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -421,8 +421,10 @@ public class AudioRecord
     * @see AudioRecord#RECORDSTATE_RECORDING
     */
    public int getRecordingState() {
        synchronized (mRecordingStateLock) {
            return mRecordingState;
        }
    }

    /**
     * Returns the notification marker position expressed in frames.