summaryrefslogtreecommitdiff
path: root/tests/src/com
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-09-08 17:00:53 -0700
committerAndrew Lee <anwlee@google.com>2015-09-10 15:59:06 -0700
commitbcc9493781e3a2e84eee9d42da5875ad733bae14 (patch)
tree0a4e10108527ff170fc9cd9c311ea88e6110274d /tests/src/com
parent2d3b34d2392f9a4e8a5c87d8148a0892659a7df6 (diff)
Improve speakerphone setting.
+ Persist speakerphone setting across resume/pause. + Allow toggling speakerphone before voicemail is played or while loading. Bug: 23566924 Bug: 23716100 Change-Id: Icc7342be85bd6df0f4678134b222f2200d3fc56d
Diffstat (limited to 'tests/src/com')
-rw-r--r--tests/src/com/android/dialer/voicemail/VoicemailPlaybackTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/com/android/dialer/voicemail/VoicemailPlaybackTest.java b/tests/src/com/android/dialer/voicemail/VoicemailPlaybackTest.java
index b9c70d38f..6c7cf77c2 100644
--- a/tests/src/com/android/dialer/voicemail/VoicemailPlaybackTest.java
+++ b/tests/src/com/android/dialer/voicemail/VoicemailPlaybackTest.java
@@ -143,8 +143,7 @@ public class VoicemailPlaybackTest extends ActivityInstrumentationTestCase2<Call
mFakeAsyncTaskExecutor.runTask(CHECK_FOR_CONTENT);
getInstrumentation().waitForIdleSync();
- // Force the speakerphone to false to start.
- mPresenter.setSpeakerphoneOn(false);
+ // Check that the speakerphone is false to start.
assertFalse(mPresenter.isSpeakerphoneOn());
View speakerphoneButton = mLayout.findViewById(R.id.playback_speakerphone);