Merge "Create a new string to alert unsupported vpn start." into main am: 3c569b5379 am: 42ad676a4e

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2831551

Change-Id: Iea863ecae495cd1273c8bb77ca61ee488b147865
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Hansen Kurli
2023-11-21 09:30:49 +00:00
committed by Automerger Merge Worker
2 changed files with 7 additions and 2 deletions

View File

@@ -209,8 +209,8 @@ public class ConfigDialogFragment extends InstrumentedDialogFragment implements
Toast.makeText(mContext, R.string.vpn_no_network, Toast.LENGTH_LONG).show();
} catch (UnsupportedOperationException e) {
Log.e(TAG, "Attempted to start an unsupported VPN type.");
final AlertDialog dialog = new AlertDialog.Builder(mContext)
.setMessage(R.string.vpn_insecure_dialog_subtitle)
final AlertDialog unusedDialog = new AlertDialog.Builder(mContext)
.setMessage(R.string.vpn_start_unsupported)
.setPositiveButton(android.R.string.ok, null)
.show();
}