Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e341c7e7 authored by Ken Shirriff's avatar Ken Shirriff
Browse files

Add access to ContentProvider for SyncState.

This is used (temporarily) by the new calendar sync implementation.
parent eaa91ed1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -747,4 +747,8 @@ public abstract class AbstractSyncableContentProvider extends SyncableContentPro
    public void writeSyncDataBytes(Account account, byte[] data) {
        mSyncState.writeSyncDataBytes(mOpenHelper.getWritableDatabase(), account, data);
    }

    protected ContentProvider getSyncStateProvider() {
        return mSyncState.asContentProvider();
    }
}