OSDN Git Service

Allow switchbars to have alternate text
authorJulia Reynolds <juliacr@google.com>
Thu, 21 Dec 2017 18:26:39 +0000 (13:26 -0500)
committerJulia Reynolds <juliacr@google.com>
Tue, 2 Jan 2018 20:34:58 +0000 (15:34 -0500)
commit9c3d329de62973b436f3292754bd0962b882c2ee
tree4e0fd648c471df0d3a54a9c2c5fef5ff7e54a5ff
parentce3633be800ef846d650a95d225c5235839b4662
Allow switchbars to have alternate text

For when On and Off aren't descriptive enough.

Bug: 63927402
Test: make -j20 RunSettingsRoboTests
Change-Id: I1e12d8d92dbe2f0a4c5202667cf1a76f0428e048
src/com/android/settings/widget/SwitchBar.java
tests/robotests/src/com/android/settings/widget/SwitchBarTest.java [new file with mode: 0644]