mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Trying to prevent dummy sync service to be run by system
This commit is contained in:
parent
616ca795cb
commit
62eea3fdb4
4 changed files with 5 additions and 4 deletions
|
|
@ -20,6 +20,7 @@ Group changes to describe their impact on the project, as follows:
|
|||
### Fixed
|
||||
- Catching exceptions in new ContactsLoader reported on PlayStore
|
||||
- Missing phone numbers in contacts when label contains a space character (5.1.24 SDK fix)
|
||||
- Prevent app from starting by itself due to DummySyncService
|
||||
- Hide chat rooms settings not working properly
|
||||
|
||||
## [4.6.5] - 2022-04-11
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@
|
|||
|
||||
<service
|
||||
android:name=".contact.DummySyncService"
|
||||
android:exported="true">
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.content.SyncAdapter" />
|
||||
</intent-filter>
|
||||
|
|
@ -172,7 +172,7 @@
|
|||
</service>
|
||||
|
||||
<service android:name=".contact.DummyAuthenticationService"
|
||||
android:exported="true">
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.accounts.AccountAuthenticator" />
|
||||
</intent-filter>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class DummySyncService : Service() {
|
|||
synchronized(syncAdapterLock) {
|
||||
Log.i("[Dummy Sync Adapter] Sync Service created")
|
||||
if (syncAdapter == null) {
|
||||
syncAdapter = DummySyncAdapter(applicationContext, true)
|
||||
syncAdapter = DummySyncAdapter(applicationContext, false)
|
||||
Log.i("[Dummy Sync Adapter] Sync Adapter created")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
android:accountType="@string/sync_account_type"
|
||||
android:contentAuthority="com.android.contacts"
|
||||
android:supportsUploading="false"
|
||||
android:userVisible="true"
|
||||
android:userVisible="false"
|
||||
android:allowParallelSyncs="false"
|
||||
android:isAlwaysSyncable="false" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue