OSDN Git Service

Create a string for private DNS "On"
authorlucaslin <lucaslin@google.com>
Tue, 23 Jul 2019 11:40:09 +0000 (19:40 +0800)
committerlucaslin <lucaslin@google.com>
Tue, 23 Jul 2019 11:40:09 +0000 (19:40 +0800)
commitbe8701bca5569eee4c37bd13c744263a34e29add
treefeed674d5e74b2d31c6488ae5b52234a09d38063
parent0c7e8059020f3094386f1344778f02d7df6f785a
Create a string for private DNS "On"

The last private DNS settings screen landed in P after string
freeze, which led us to reuse R.string.switch_on_text for the
"on" text when private DNS is active. That string comes from
notifications. Private DNS should have its own string for this
instead.

Bug: 79122154
Test: 1. Build pass
      2. make -j44 RunSettingsRoboTests \
      ROBOTEST_FILTER=PrivateDnsPreferenceControllerTest

Change-Id: Ie013a858c8bc41e00a1b940d02efa2b605991685
res/values/strings.xml
src/com/android/settings/network/PrivateDnsPreferenceController.java
tests/robotests/src/com/android/settings/network/PrivateDnsPreferenceControllerTest.java