if (GalleryRemote.getInstance().properties.getBooleanProperty(SAVE_PASSWORDS)) { GalleryRemote.getInstance().properties.setBase64Property(PASSWORD + prefsIndex, password); } else { GalleryRemote.getInstance().properties.remove(PASSWORD + prefsIndex);
if (!blockWrites) { if (GalleryRemote.getInstance().properties.getBooleanProperty(SAVE_PASSWORDS)) { GalleryRemote.getInstance().properties.setBase64Property(PASSWORD + prefsIndex, password); } else { GalleryRemote.getInstance().properties.remove(PASSWORD + prefsIndex); }
	public void setPassword( String password ) {		//Log.log(Log.TRACE, MODULE, "setpassword: " + password);		if ( /*password != null && password.length() > 0				&&*/ ! password.equals( this.password ) ) {			this.password = password;			logOut();			if (GalleryRemote.getInstance().properties.getBooleanProperty(SAVE_PASSWORDS)) {				GalleryRemote.getInstance().properties.setBase64Property(PASSWORD + prefsIndex, password);			} else {				GalleryRemote.getInstance().properties.remove(PASSWORD + prefsIndex);			}		}	}