Merge "Remove availability tests from RingVolumePreferenceControllerTest" into main
diff --git a/tests/robotests/src/com/android/settings/notification/RingVolumePreferenceControllerTest.java b/tests/robotests/src/com/android/settings/notification/RingVolumePreferenceControllerTest.java
index e414929..5fb2d31 100644
--- a/tests/robotests/src/com/android/settings/notification/RingVolumePreferenceControllerTest.java
+++ b/tests/robotests/src/com/android/settings/notification/RingVolumePreferenceControllerTest.java
@@ -91,26 +91,6 @@
assertThat(mController.isAvailable()).isFalse();
}
- /**
- * Devices that are not voice capable should still show Ring volume, because it is used by apps
- * that make calls outside the cell network.
- */
- @Test
- public void isAvailable_notSingleVolume_notVoiceCapable_shouldReturnTrue() {
- when(mHelper.isSingleVolume()).thenReturn(false);
- when(mTelephonyManager.isVoiceCapable()).thenReturn(false);
-
- assertThat(mController.isAvailable()).isTrue();
- }
-
- @Test
- public void isAvailable_notSingleVolume_VoiceCapable_shouldReturnTrue() {
- when(mHelper.isSingleVolume()).thenReturn(false);
- when(mTelephonyManager.isVoiceCapable()).thenReturn(true);
-
- assertThat(mController.isAvailable()).isTrue();
- }
-
@Test
public void getAudioStream_shouldReturnRing() {
assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_RING);