summaryrefslogtreecommitdiff
path: root/src/com
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 14:04:35 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 14:04:35 -0800
commit81ddfee16eb3d64ede19eeb8d5d9ca2e7d692ec0 (patch)
treeb7dbc1a1af3583c98303a77d9fec804bf7bbcf66 /src/com
parentdb20fc1914f2cc6026be9f64f193c15df2997b17 (diff)
downloadSoundRecorder-81ddfee16eb3d64ede19eeb8d5d9ca2e7d692ec0.tar.gz
auto import from //depot/cupcake/@132589
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/soundrecorder/SoundRecorder.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/com/android/soundrecorder/SoundRecorder.java b/src/com/android/soundrecorder/SoundRecorder.java
index 45eaa70..2338362 100644
--- a/src/com/android/soundrecorder/SoundRecorder.java
+++ b/src/com/android/soundrecorder/SoundRecorder.java
@@ -332,19 +332,6 @@ public class SoundRecorder extends Activity
}
/*
- * Make sure we're not recording music playing in the background, ask
- * the MediaPlaybackService to pause playback.
- */
- private void stopAudioPlayback() {
- // Shamelessly copied from MediaPlaybackService.java, which
- // should be public, but isn't.
- Intent i = new Intent("com.android.music.musicservicecommand");
- i.putExtra("command", "pause");
-
- sendBroadcast(i);
- }
-
- /*
* Handle the buttons.
*/
public void onClick(View button) {
@@ -363,8 +350,6 @@ public class SoundRecorder extends Activity
mErrorUiMessage = getResources().getString(R.string.storage_is_full);
updateUi();
} else {
- stopAudioPlayback();
-
if (AUDIO_AMR.equals(mRequestedType)) {
mRemainingTimeCalculator.setBitRate(BITRATE_AMR);
mRecorder.startRecording(MediaRecorder.OutputFormat.RAW_AMR, ".amr");