Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e1796d2 authored by Steve Kondik's avatar Steve Kondik
Browse files

Allow saving of password in VPN settings.

Thanks to Cytown@XDA for the patch.

Change-Id: I94cb634265d6548c177d7e02aa244233808eba61
parent d250540f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -106,7 +106,11 @@ public class AuthenticationActor implements VpnProfileActor {

        String username = mProfile.getSavedUsername();
        if (!TextUtils.isEmpty(username)) {
            usernameView.setText(username);
            String[] names = username.split("\t");
            usernameView.setText(names[0]);
            if (names.length > 1) {
                passwordView.setText(names[1]);
            }
            saveUsername.setChecked(true);
            passwordView.requestFocus();
        }