Hide the audio switcher if it is not relevant

Bug: 78317337
Test: make RunSettingsRoboTests
ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j28
ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j28
ROBOTEST_FILTER="HandsFreeProfileOutputPreferenceControllerTest" -j28

Change-Id: I9824941cf410b26ad166aa163d7cccd3bfc31a06
This commit is contained in:
caxtonchan
2018-04-23 15:04:21 +08:00
committed by Caxton Chan
parent 1cf0dfd3b2
commit 458fb2319f
6 changed files with 31 additions and 30 deletions

View File

@@ -245,7 +245,7 @@ public class AudioOutputSwitchPreferenceControllerTest {
@Override
public String getPreferenceKey() {
return null;
return TEST_KEY;
}
}
}