Merge "Create a new string to alert unsupported vpn start." into main

This commit is contained in:
Hansen Kurli
2023-11-21 08:21:33 +00:00
committed by Gerrit Code Review
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();
}