OSDN Git Service

Use a different string for vpn summary.
authorDoris Ling <dling@google.com>
Thu, 12 Apr 2018 21:04:10 +0000 (14:04 -0700)
committerDoris Ling <dling@google.com>
Thu, 12 Apr 2018 21:04:10 +0000 (14:04 -0700)
commit0a66946d6b135bc805ce91161baecade573fe256
treeb8f6ffca65fc0df4073ed848affa779d85332e27
parente6750d6c2dee2e829dd0ad73751d21e84bde3521
Use a different string for vpn summary.

- for legacy vpn config, we do not get the vpn name to show in the
preference summary, and we used to simply show "Connected" as the summary
text. However, the string was changed to include the connected device
name as the parameter. Change to use connected summary string that does
not requires any parameter.

Change-Id: Ia6191eb315f5f23e0e6bf8da2a9537c211e8188e
Fixes: 77618408
Test: make RunSettingsRoboTests
src/com/android/settings/network/VpnPreferenceController.java
tests/robotests/src/com/android/settings/network/VpnPreferenceControllerTest.java