Update VPN app dialog message to include version code
Add the string back to AppDialog in VPN Bug: 372179228 Change-Id: I2f45515623cd7d0fbaf4a17026d040107b804fed Test: verify the UI. Flag: EXEMPT bugfix
This commit is contained in:
@@ -6957,6 +6957,8 @@
|
|||||||
<string name="vpn_disconnect">Disconnect</string>
|
<string name="vpn_disconnect">Disconnect</string>
|
||||||
<!-- Field label to show the version number for a VPN app. [CHAR LIMIT=40] -->
|
<!-- Field label to show the version number for a VPN app. [CHAR LIMIT=40] -->
|
||||||
<string name="vpn_version">Version</string>
|
<string name="vpn_version">Version</string>
|
||||||
|
<!-- Field label to show the version number for a VPN app dialog. [CHAR LIMIT=40] -->
|
||||||
|
<string name="vpn_version_info">Version <xliff:g id="version" example="3.3.0">%s</xliff:g></string>
|
||||||
<!-- Button label to forget a VPN profile [CHAR LIMIT=40] -->
|
<!-- Button label to forget a VPN profile [CHAR LIMIT=40] -->
|
||||||
<string name="vpn_forget_long">Forget VPN</string>
|
<string name="vpn_forget_long">Forget VPN</string>
|
||||||
<!-- Dialog message title to set another VPN app to be always-on [CHAR LIMIT=40] -->
|
<!-- Dialog message title to set another VPN app to be always-on [CHAR LIMIT=40] -->
|
||||||
|
@@ -56,7 +56,7 @@ class AppDialog extends AlertDialog implements DialogInterface.OnClickListener {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedState) {
|
protected void onCreate(Bundle savedState) {
|
||||||
setTitle(mLabel);
|
setTitle(mLabel);
|
||||||
setMessage(getContext().getString(R.string.vpn_version, mPackageInfo.versionName));
|
setMessage(getContext().getString(R.string.vpn_version_info, mPackageInfo.versionName));
|
||||||
|
|
||||||
createButtons();
|
createButtons();
|
||||||
super.onCreate(savedState);
|
super.onCreate(savedState);
|
||||||
|
Reference in New Issue
Block a user