1
0
mirror of https://github.com/etesync/android synced 2024-11-22 16:08:13 +00:00

Android 11: export address book

Changes in Android 11 made it so address books are no longer shown. This
changes fixes it.

Based on DAVx5's similar fix.

638f9f9264
This commit is contained in:
Tom Hacohen 2020-09-06 09:26:13 +03:00
parent c34767c12d
commit 74e245de6d

View File

@ -127,7 +127,7 @@
<!-- Address book account --> <!-- Address book account -->
<service <service
android:name=".syncadapter.NullAuthenticatorService" android:name=".syncadapter.NullAuthenticatorService"
android:exported="false"> android:exported="true"> <!-- Since Android 11, this must be true so that Google Contacts shows the address book accounts -->
<intent-filter> <intent-filter>
<action android:name="android.accounts.AccountAuthenticator"/> <action android:name="android.accounts.AccountAuthenticator"/>
</intent-filter> </intent-filter>