Пример #1
0
 private void buildDropboxUser() {
   User user = new User();
   UserPreference preferences = UserPreference.getInstance();
   preferences.readPreferences(user.username);
   preferenceUI.setUsername(user.username);
   systemManager.changeUser(
       user.username,
       user.email,
       preferences.getContentPath(),
       preferences.getNumMatchingTextDisplay(),
       preferences.getClearCachesTimeInHours());
 }
Пример #2
0
 private void buildDefaultUser() {
   UserPreference preferences = UserPreference.getInstance();
   preferences.readPreferences(defaultUser);
   preferenceUI.setUsername(defaultUser);
   systemManager.reset();
 }