mirror of
https://github.com/etesync/android
synced 2024-12-23 15:18:14 +00:00
LocalAddressBook: update according to vcard4android changes.
This commit is contained in:
parent
f6638e7584
commit
36a44ba339
@ -136,7 +136,7 @@ class LocalAddressBook(
|
||||
?: throw IllegalStateException("Address book has no URL")
|
||||
set(url) = AccountManager.get(context).setUserData(account, USER_DATA_URL, url)
|
||||
|
||||
var readOnly: Boolean
|
||||
override var readOnly: Boolean
|
||||
get() = AccountManager.get(context).getUserData(account, USER_DATA_READ_ONLY) != null
|
||||
set(readOnly) = AccountManager.get(context).setUserData(account, USER_DATA_READ_ONLY, if (readOnly) "1" else null)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user