-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixes #3790- Use WorkManagers to upload contributions #4298
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
Fixes #3790- Use WorkManagers to upload contributions #4298
Conversation
Use WorkManagers to process upload contributions ** Removed UploadService and Added UploadWorker to process contributions Upload ** Made nescessary changes to remove the usages of the Service from the classes ** UI Fxies- Minor changes in the retry and cancel uplaod icons to give them a clickable area of 48 dp
app/build.gradle
Outdated
} | ||
|
||
android { | ||
compileSdkVersion 28 | ||
compileSdkVersion 29 |
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.
This is recommended now
@@ -135,8 +135,7 @@ | |||
android:name=".review.ReviewActivity" | |||
android:label="@string/title_activity_review" /> | |||
|
|||
<service android:name=".upload.UploadService" /> |
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.
Deleted the service
Use WorkManagers to process upload contributions ** Removed UploadService and Added UploadWorker to process contributions Upload ** Made nescessary changes to remove the usages of the Service from the classes ** UI Fxies- Minor changes in the retry and cancel uplaod icons to give them a clickable area of 48 dp
bf3239d
to
1c6e533
Compare
This reverts commit c8979fe.
Hi @ashishkumar468 , I have made a few tests on this PR. All tests are made on beta debug with a fresh install:
|
Hi @neslihanturan, can you share the logs from when the uploads don't happen |
Sure, would this one work?
|
Hi @neslihanturan Thanks for sharing the logs, I am looking into it |
Hi @neslihanturan , I have updated the PR with a fix, verified the upload on Android 10, could you re-verify please? |
Hey @ashishkumar468 , thanks for the fixes. Now upload succeeded but after select the image I have just uploaded to see media details, it crashed with error:
|
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.
Thanks @ashishkumar468 , it works. Will merge right after conflicts are fixed :)
Hi @neslihanturan , @misaochan - I have updated the PR, synced it with the master branch to resolve merge conflicts. Please have a look. |
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.
Thanks a lot @ashishkumar468 :)
Description (required)
Fixes #3790
What changes did you make and why?
Use WorkManagers to process upload contributions
** Removed UploadService and Added UploadWorker to process contributions Upload
** Made necessary changes to remove the usages of the Service from the classes
** UI Fixes- Minor changes in the retry and cancel upload icons to give them a clickable area of 48 dp
Tests performed (required)
Tested betaDebug on Pixel 4A- API 30
Tested all possible happy cases for the following