You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Using custom gdbus code, as libportal doesn't expose the raw org.freedesktop.portal.OpenURI.OpenFile method.
35 lines
1.0 KiB
Java
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'");
|
|
}
|
|
}
|