-
Notifications
You must be signed in to change notification settings - Fork 856
Feature/polling work #2080
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
Merged
Merged
Feature/polling work #2080
Conversation
This file contains hidden or 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
bmarty
reviewed
Sep 9, 2020
| } | ||
| } | ||
|
|
||
| override fun getView(position: Int, convertView: View?, parent: ViewGroup): View { |
Member
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.
For a list view of 3 static items, it's really too much code...
|
Yeah Notification Bug is now fixed by this :) <3 THX @BillCarsonFr |
83e70d4 to
f4c4e84
Compare
8d24625 to
e997610
Compare
…otReceiver: background starts even if notification are disabled
6 tasks
This was referenced Sep 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2055
Fixes #1920
Fixes #1915
This PR add backs the fdroid sync modes that were available in the former app.
It offers 3 modes:
Optimized for battery : In this mode background syncs are scheduled via Workers, meaning that the system will have control on the periodicity of syncs when battery is low or when the phone is idle (sync will occcur in allowed maintenance windows). After completion the sync work will schedule another one.
Optimized for Real Time : This mode requires the app to be exempted from battery optimization. Alarms will be launched and will wake up the app in order to perform the background sync as a foreground service. After completion the service will schedule another alarm
No background syncs : The app won't sync in background