Revert addition of a11y stream in VolumeDialogController

Revert addition of STREAM_ACCESSIBILITY as R.array.volume_stream_titles
  needs to contain STREAMS.length entries in all languages,
  whereas this had only been done for the default system language.

Test: boot in a different language than en-US
Bug: 33260083
Change-Id: If869c5f913bb42b94eeb3fa2e1b6f575a6f7ca70
This commit is contained in:
Jean-Michel Trivi
2016-12-01 08:46:06 -08:00
parent d61cc80aca
commit 82a6655714
2 changed files with 0 additions and 2 deletions

View File

@@ -1120,7 +1120,6 @@
<item></item> <!-- STREAM_SYSTEM_ENFORCED -->
<item></item> <!-- STREAM_DTMF -->
<item></item> <!-- STREAM_TTS -->
<item>Accessibility</item> <!-- STREAM_ACCESSIBILITY -->
</string-array>
<string name="volume_stream_muted" translatable="false">%s silent</string>

View File

@@ -78,7 +78,6 @@ public class VolumeDialogController {
AudioSystem.STREAM_SYSTEM_ENFORCED,
AudioSystem.STREAM_TTS,
AudioSystem.STREAM_VOICE_CALL,
AudioSystem.STREAM_ACCESSIBILITY,
};
private final HandlerThread mWorkerThread;