mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-04 16:45:11 -05:00
GDriveFileStorage: show hidden files (Drive Client marks all files hidden but no way to remove flag?)
This commit is contained in:
parent
34bca0834f
commit
17bfc0c975
@ -437,7 +437,7 @@ public class GoogleDriveFileStorage extends JavaFileStorageBase {
|
||||
throw new FileNotFoundException(parentPath + " is trashed!");
|
||||
|
||||
Files.List request = driveService.files().list()
|
||||
.setQ("trashed=false and hidden=false and '"+parentId+"' in parents");
|
||||
.setQ("trashed=false and '"+parentId+"' in parents");
|
||||
|
||||
do {
|
||||
try {
|
||||
@ -715,7 +715,7 @@ public class GoogleDriveFileStorage extends JavaFileStorageBase {
|
||||
|
||||
HashMap<String, FileSystemEntryData> folderCache = new HashMap<String, GoogleDriveFileStorage.FileSystemEntryData>();
|
||||
//Log.d(TAG,"buildFoldersCache");
|
||||
FileList folders=getDriveService(accountName).files().list().setQ("mimeType='"+FOLDER_MIME_TYPE+"' and trashed=false and hidden=false")
|
||||
FileList folders=getDriveService(accountName).files().list().setQ("mimeType='"+FOLDER_MIME_TYPE+"' and trashed=false")
|
||||
.setFields("items(id,title,parents),nextPageToken")
|
||||
.execute();
|
||||
for(File fl: folders.getItems()){
|
||||
|
Loading…
Reference in New Issue
Block a user