diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2018-02-06 12:21:34 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-02-08 15:53:00 +0000 |
commit | e6e080ff5cb9c7c56003695c1b787981e0114599 (patch) | |
tree | c603b0cb77188aeffc824ebb543233b84262a4bf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a20833c06df83e7ec74a267b3578d7f17facd476 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions