mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Removed legacy code.
This commit is contained in:
parent
115a9b5727
commit
8fb1a314b5
1 changed files with 1 additions and 4 deletions
|
@ -318,10 +318,7 @@ public class SyncthingService extends Service implements
|
||||||
PRNGFixes.apply();
|
PRNGFixes.apply();
|
||||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
|
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
|
||||||
// Make sure this is also done for existing installs. We can replace this check with
|
if (isFirstStart()) {
|
||||||
// {@link #isFirstStart()} after a while.
|
|
||||||
if (!sp.getBoolean("default_user_pw_set", false)) {
|
|
||||||
sp.edit().putBoolean("default_user_pw_set", true).apply();
|
|
||||||
char[] chars =
|
char[] chars =
|
||||||
"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".toCharArray();
|
"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".toCharArray();
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
Loading…
Reference in a new issue