mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-12-23 15:38:47 -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!");
|
throw new FileNotFoundException(parentPath + " is trashed!");
|
||||||
|
|
||||||
Files.List request = driveService.files().list()
|
Files.List request = driveService.files().list()
|
||||||
.setQ("trashed=false and hidden=false and '"+parentId+"' in parents");
|
.setQ("trashed=false and '"+parentId+"' in parents");
|
||||||
|
|
||||||
do {
|
do {
|
||||||
try {
|
try {
|
||||||
@ -715,7 +715,7 @@ public class GoogleDriveFileStorage extends JavaFileStorageBase {
|
|||||||
|
|
||||||
HashMap<String, FileSystemEntryData> folderCache = new HashMap<String, GoogleDriveFileStorage.FileSystemEntryData>();
|
HashMap<String, FileSystemEntryData> folderCache = new HashMap<String, GoogleDriveFileStorage.FileSystemEntryData>();
|
||||||
//Log.d(TAG,"buildFoldersCache");
|
//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")
|
.setFields("items(id,title,parents),nextPageToken")
|
||||||
.execute();
|
.execute();
|
||||||
for(File fl: folders.getItems()){
|
for(File fl: folders.getItems()){
|
||||||
|
Loading…
Reference in New Issue
Block a user