mirror of https://github.com/etesync/android
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
/*
|
|
* Copyright © Ricki Hirner (bitfire web engineering).
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the GNU Public License v3.0
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.gnu.org/licenses/gpl.html
|
|
*/
|
|
|
|
package com.etesync.syncadapter.syncadapter
|
|
|
|
import android.content.ContentProvider
|
|
import android.content.ContentValues
|
|
import android.database.Cursor
|
|
import android.net.Uri
|
|
|
|
class AddressBookProvider : ContentProvider() {
|
|
|
|
override fun onCreate(): Boolean {
|
|
return false
|
|
}
|
|
|
|
override fun query(uri: Uri, projection: Array<String>?, selection: String?, selectionArgs: Array<String>?, sortOrder: String?): Cursor? {
|
|
return null
|
|
}
|
|
|
|
override fun getType(uri: Uri): String? {
|
|
return null
|
|
}
|
|
|
|
override fun insert(uri: Uri, values: ContentValues?): Uri? {
|
|
return null
|
|
}
|
|
|
|
override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int {
|
|
return 0
|
|
}
|
|
|
|
override fun update(uri: Uri, values: ContentValues?, selection: String?, selectionArgs: Array<String>?): Int {
|
|
return 0
|
|
}
|
|
|
|
}
|