-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Drop address books authority #1217
Conversation
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.
Just a small thing. Looks good otherwise.
app/src/main/kotlin/at/bitfire/davdroid/settings/migration/AccountSettingsMigration14.kt
Show resolved
Hide resolved
app/src/main/kotlin/at/bitfire/davdroid/settings/migration/AccountSettingsMigration19.kt
Show resolved
Hide resolved
app/src/main/kotlin/at/bitfire/davdroid/sync/AutomaticSyncManager.kt
Outdated
Show resolved
Hide resolved
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.
Looks good
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.
Yes looks fine 😃
Purpose
Since #1177 the
address_books_authority
is not required anymore and this PR removes it and any remaining usages.Short description
toSyncAuthority
context.getString(R.string.address_books_authority)
and passed it to the content providers to set sync settings. Replaced it withContactsContract.AUTHORITY
.context.getString(R.string.address_books_authority)
calls in migrations with constant valuecontext.getString(R.string.address_books_authority)
callsaddress_books_authority_title
since there are no usages.Checklist