Loading play-services-core/src/main/AndroidManifest.xml +11 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,17 @@ </intent-filter> </service> <service android:name="org.microg.gms.people.ContactSyncService" android:exported="false"> <intent-filter> <action android:name="android.content.SyncAdapter"/> </intent-filter> <meta-data android:name="android.content.SyncAdapter" android:resource="@xml/contact_syncadapter"/> </service> <!-- Wearable --> <service android:name="org.microg.gms.wearable.WearableService"> Loading play-services-core/src/main/java/org/microg/gms/people/ContactSyncService.java 0 → 100644 +30 −0 Original line number Diff line number Diff line /* * Copyright (C) 2017 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.microg.gms.people; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.support.annotation.Nullable; public class ContactSyncService extends Service { @Nullable @Override public IBinder onBind(Intent intent) { return null; } } play-services-core/src/main/res/xml/contact_syncadapter.xml 0 → 100644 +21 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2017 microG Project Team ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <sync-adapter xmlns:android="http://schemas.android.com/apk/res/android" android:accountType="com.google" android:contentAuthority="com.android.contacts" android:userVisible="false"/> No newline at end of file Loading
play-services-core/src/main/AndroidManifest.xml +11 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,17 @@ </intent-filter> </service> <service android:name="org.microg.gms.people.ContactSyncService" android:exported="false"> <intent-filter> <action android:name="android.content.SyncAdapter"/> </intent-filter> <meta-data android:name="android.content.SyncAdapter" android:resource="@xml/contact_syncadapter"/> </service> <!-- Wearable --> <service android:name="org.microg.gms.wearable.WearableService"> Loading
play-services-core/src/main/java/org/microg/gms/people/ContactSyncService.java 0 → 100644 +30 −0 Original line number Diff line number Diff line /* * Copyright (C) 2017 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.microg.gms.people; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.support.annotation.Nullable; public class ContactSyncService extends Service { @Nullable @Override public IBinder onBind(Intent intent) { return null; } }
play-services-core/src/main/res/xml/contact_syncadapter.xml 0 → 100644 +21 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2017 microG Project Team ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <sync-adapter xmlns:android="http://schemas.android.com/apk/res/android" android:accountType="com.google" android:contentAuthority="com.android.contacts" android:userVisible="false"/> No newline at end of file