-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Show a notification at sync when ContentProvider inaccessible #1278
base: main-ose
Are you sure you want to change the base?
Show a notification at sync when ContentProvider inaccessible #1278
Conversation
c67f024
to
5d5ffab
Compare
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.
It doesn't work for me, I've tried disabling and uninstalling as shown, and no notification is shown.
@ArnyminerZ The notification is only shown upon sync. You need to disable the content provider select collections for synchronization and initiate a sync manually / wait for periodic. |
Yup, I was doing that. I tried:
Running on the emulator SDK 35. |
You're right. It's because I try to dismiss the notification once the content provider is available again ... Will take a look! |
291b21d
to
8cf7291
Compare
8cf7291
to
7e8f784
Compare
@ArnyminerZ Please take a look now. Also, I am also wondering whether it's smart/possible to pass the sync data type instead of the authority to |
Purpose
When content providers like contacts or calendar storage are inaccessible we can not sync and should notify the user about it.
Short description
SyncManager
Use for testing
Checklist