mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
fix new PMD error after rebase, fix display remote file list issue
This commit is contained in:
parent
0a13a5b818
commit
aacdfc0c13
2 changed files with 2 additions and 1 deletions
|
@ -386,7 +386,7 @@ public class FileListListAdapter extends BaseAdapter implements FilterableListAd
|
|||
*/
|
||||
public void swapDirectory(OCFile directory, FileDataStorageManager updatedStorageManager
|
||||
, boolean onlyOnDevice) {
|
||||
if (updatedStorageManager != null && updatedStorageManager.equals(mStorageManager)) {
|
||||
if (updatedStorageManager != null && !updatedStorageManager.equals(mStorageManager)) {
|
||||
mStorageManager = updatedStorageManager;
|
||||
mAccount = AccountUtils.getCurrentOwnCloudAccount(mContext);
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ import android.util.SparseBooleanArray;
|
|||
*/
|
||||
public class SparseBooleanArrayParcelable implements Parcelable {
|
||||
|
||||
@SuppressWarnings("PMD.SuspiciousConstantFieldName")
|
||||
public static Parcelable.Creator<SparseBooleanArrayParcelable> CREATOR =
|
||||
new Parcelable.Creator<SparseBooleanArrayParcelable>() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue