diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2018-02-06 12:21:34 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-02-09 14:59:37 -0800 |
commit | 9fa315263623e5eb3fdcd6b6f2820800745f4613 (patch) | |
tree | 7e545dfe7169110e17d3ca0e00e8716ece7e2fc6 /rs/java/android/renderscript/Program.java | |
parent | efccc1babec588babf18624fe943c29b11a2e006 (diff) |
Use proper string formatting for the "Active device" string
* The hard-coded "active" / "active(media)" / "active(phone)" strings
are removed and replaced with proper XML-based string formatting.
* Added the appropriate strings for Bluetooth Audio Active Device status:
"bluetooth_audio_active_device_summaries". For now those strings are
marked as translatable="false" until the actual UI is finalized.
* Updated all "bluetooth_connected*" strings to include the new
"active_device" component.
* Added unit tests for the new "active" strings.
Also, updated existing unit tests to check the getConnectionSummary()
strings by comparing against strings embedded within the unit tests.
Bug: 72317067
Test: Unit tests added: make RunSettingsLibRoboTests -j40
Manual: two headsets and switching the active device
Change-Id: Ide639b5dfb45c1db8114155240f193249aeaf3be
(cherry picked from commit e6e080ff5cb9c7c56003695c1b787981e0114599)
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions