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

Commit 414ab76f authored by Jiehua Dai's avatar Jiehua Dai Committed by Johan Redestig
Browse files

The password in the APN settings is shown instead of stars

The password is presented as stars in the edit box, also if one
exits and then enters the APN editor the password is stars.

With this patch the APN password is consistently starified.
parent 9f78ffb2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -458,7 +458,11 @@ public class ApnEditor extends PreferenceActivity
    public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
        Preference pref = findPreference(key);
        if (pref != null) {
            if (pref.equals(mPassword)){
                pref.setSummary(starify(sharedPreferences.getString(key, "")));
            } else {
                pref.setSummary(checkNull(sharedPreferences.getString(key, "")));
            }
        }
    }
}