Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -196,7 +196,8 @@ public class VpnSettings extends RestrictedDashboardFragment implements
|
||||
if (mUnavailable) {
|
||||
// Show a message to explain that VPN settings have been disabled
|
||||
if (!isUiRestrictedByOnlyAdmin()) {
|
||||
getEmptyTextView().setText(R.string.vpn_settings_not_available);
|
||||
getEmptyTextView()
|
||||
.setText(com.android.settingslib.R.string.vpn_settings_not_available);
|
||||
}
|
||||
getPreferenceScreen().removeAll();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user