commit | 91df80e97bcbd5cf8a62b8a4a65fd9bfac094a77 | [log] [tgz] |
---|---|---|
author | Paul McLean <pmclean@google.com> | Tue Sep 22 16:09:49 2015 -0700 |
committer | Paul McLean <pmclean@google.com> | Tue Sep 22 16:09:49 2015 -0700 |
tree | b352ea233d06d455ce0f9d6a16523717b24c2c8b | |
parent | 875dc8afb04318e85682b0d39f1be8763f5dd7df [diff] |
Add code to start/stop recording to catch AudioRecord routing notifications. bug: 23988686 Change-Id: Iebd3a56315536363d47b9e10f9d8b063aee469bf
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/audio/AudioRoutingNotificationsActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/audio/AudioRoutingNotificationsActivity.java index b6a4255..47bc48a 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/audio/AudioRoutingNotificationsActivity.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/audio/AudioRoutingNotificationsActivity.java
@@ -59,19 +59,19 @@ public void onClick(View v) { switch (v.getId()) { case R.id.audio_routingnotification_playBtn: - Log.i(TAG, "audio_routingnotification_playBtn"); mAudioPlayer.start(); break; case R.id.audio_routingnotification_playStopBtn: - Log.i(TAG, "audio_routingnotification_playStopBtn"); mAudioPlayer.stop(); break; case R.id.audio_routingnotification_recordBtn: + mAudioRecorder.start(); break; case R.id.audio_routingnotification_recordStopBtn: + mAudioRecorder.stop(); break; } }