-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: upload cancel #15712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix: upload cancel #15712
Conversation
|
||
// need to update now table in mUploadsStorageManager, | ||
// since the operation will not get to be run by FileUploader#uploadFile | ||
uploadsStorageManager.removeUpload(accountName, remotePath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tobiasKaminsky Why do we have two different place for uploads?
ProviderTableMeta.UPLOADS_TABLE_NAME
and CONTENT_URI_UPLOADS
36a27de
to
4d30858
Compare
/backport to stable-3.34 |
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
4d30858
to
f676bd8
Compare
test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/15712-Unit-test-08-28 |
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15712.apk |
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
Issue
When the user presses Cancel during an upload, the ongoing or pending upload must be properly cancelled and reflected in the upload list.
Scenarios
From Notification:
When the user presses the cancel button in the notification, the ongoing upload should stop immediately.
From Upload List Screen:
When the user cancels from the upload list, the corresponding upload should also be stopped.
Expected Behavior
How to Test