-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only allow copy/move via rclone when it can be done server-side
If copyDocument() and moveDocument() are slow, the binder transaction will time out and Android will kill RSAF. If we can't perform the operation quickly via server-side operations, let's just tell the client that the operation is unsupported. Android's DocumentsUI specifically handles this scenario and will do the copy/move operation itself, which isn't subject to this problem. Fixes: #124 Signed-off-by: Andrew Gunnerson <[email protected]>
- Loading branch information
1 parent
6233904
commit 21b3251
Showing
4 changed files
with
69 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters