Files
android_translation_layer/src/api-impl/android/content/SearchRecentSuggestionsProvider.java
Julian Winkler f3092fd4bd implement file sharing by file descriptor
Using custom gdbus code, as libportal doesn't expose the raw
org.freedesktop.portal.OpenURI.OpenFile method.
2024-10-03 15:57:44 +02:00

35 lines
1.0 KiB
Java

package android.content;
import android.database.Cursor;
import android.net.Uri;
import android.os.ParcelFileDescriptor;
public class SearchRecentSuggestionsProvider extends ContentProvider {
public void setupSuggestions(String s, int i) {}
@Override
public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
throw new UnsupportedOperationException("Unimplemented method 'query'");
}
@Override
public Uri insert(Uri uri, ContentValues values) {
throw new UnsupportedOperationException("Unimplemented method 'insert'");
}
@Override
public int delete(Uri uri, String selection, String[] selectionArgs) {
throw new UnsupportedOperationException("Unimplemented method 'delete'");
}
@Override
public String getType(Uri uri) {
throw new UnsupportedOperationException("Unimplemented method 'getType'");
}
@Override
public ParcelFileDescriptor openFile(Uri uri, String mode) {
throw new UnsupportedOperationException("Unimplemented method 'openFile'");
}
}