if (a == this) { Log.log(Log.LEVEL_ERROR, MODULE, "Gallery error: the album " + name + " is its own parent. You should delete it, the album database " + "is corrupted because of it.");  a = null; }
	public void setParentAlbum( Album a ) {		parent = a;		if (a != null) {			if (!a.subAlbums.contains(this)) {				a.subAlbums.add(this);			}		} else {			if (!gallery.rootAlbums.contains(this)) {				gallery.rootAlbums.add(this);			}		}	}