Commit a902dd72 authored by Conley Owens's avatar Conley Owens Committed by Android Git Automerger
Browse files

am ac671db7: am b67bae5b: Merge "Playback in SoundRecorder interrupted by screen timeout."

* commit 'ac671db7':
  Playback in SoundRecorder interrupted by screen timeout.
parents bf0955ad ac671db7
......@@ -824,10 +824,7 @@ public class SoundRecorder extends Activity
if (state == Recorder.PLAYING_STATE || state == Recorder.RECORDING_STATE) {
mSampleInterrupted = false;
mErrorUiMessage = null;
}
if (state == Recorder.RECORDING_STATE) {
mWakeLock.acquire(); // we don't want to go to sleep while recording
mWakeLock.acquire(); // we don't want to go to sleep while recording or playing
} else {
if (mWakeLock.isHeld())
mWakeLock.release();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment