mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-14 15:35:03 +01:00
30 lines
921 B
Java
30 lines
921 B
Java
/*
|
|
* Nextcloud Talk - Android Client
|
|
*
|
|
* SPDX-FileCopyrightText: 2020 Tobias Kaminsky <tobias.kaminsky@nextcloud.com>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
package com.nextcloud.talk.utils;
|
|
|
|
import android.accounts.Account;
|
|
import android.content.AbstractThreadedSyncAdapter;
|
|
import android.content.ContentProviderClient;
|
|
import android.content.Context;
|
|
import android.content.SyncResult;
|
|
import android.os.Bundle;
|
|
import android.util.Log;
|
|
|
|
class SyncAdapter extends AbstractThreadedSyncAdapter {
|
|
|
|
public SyncAdapter(Context context, boolean autoInitialize) {
|
|
super(context, autoInitialize);
|
|
Log.i("SyncAdapter", "Sync adapter created");
|
|
}
|
|
|
|
@Override
|
|
public void onPerformSync(Account account, Bundle extras, String authority,
|
|
ContentProviderClient provider, SyncResult syncResult) {
|
|
Log.i("SyncAdapter", "Sync adapter called");
|
|
}
|
|
}
|