- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
73 lines
2.7 KiB
Java
73 lines
2.7 KiB
Java
package androidx.webkit;
|
|
|
|
import android.content.ContentProvider;
|
|
import android.content.ContentValues;
|
|
import android.database.Cursor;
|
|
import android.net.Uri;
|
|
import android.os.Bundle;
|
|
import android.os.ParcelFileDescriptor;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.webkit.internal.WebViewGlueCommunicator;
|
|
import java.io.FileNotFoundException;
|
|
import org.chromium.support_lib_boundary.DropDataContentProviderBoundaryInterface;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class DropDataContentProvider extends ContentProvider {
|
|
DropDataContentProviderBoundaryInterface mImpl;
|
|
|
|
@Override // android.content.ContentProvider
|
|
public boolean onCreate() {
|
|
return true;
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String str) throws FileNotFoundException {
|
|
return getDropImpl().openFile(this, uri);
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public Cursor query(@NonNull Uri uri, @Nullable String[] strArr, @Nullable String str, @Nullable String[] strArr2, @Nullable String str2) {
|
|
return getDropImpl().query(uri, strArr, str, strArr2, str2);
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public String getType(@NonNull Uri uri) {
|
|
return getDropImpl().getType(uri);
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public Uri insert(@NonNull Uri uri, @Nullable ContentValues contentValues) {
|
|
throw new UnsupportedOperationException("Insert method is not supported.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
public int delete(@NonNull Uri uri, @Nullable String str, @Nullable String[] strArr) {
|
|
throw new UnsupportedOperationException("delete method is not supported.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
public int update(@NonNull Uri uri, @Nullable ContentValues contentValues, @Nullable String str, @Nullable String[] strArr) {
|
|
throw new UnsupportedOperationException("update method is not supported.");
|
|
}
|
|
|
|
@Override // android.content.ContentProvider
|
|
@Nullable
|
|
public Bundle call(@NonNull String str, @Nullable String str2, @Nullable Bundle bundle) {
|
|
return getDropImpl().call(str, str2, bundle);
|
|
}
|
|
|
|
private DropDataContentProviderBoundaryInterface getDropImpl() {
|
|
if (this.mImpl == null) {
|
|
DropDataContentProviderBoundaryInterface dropDataProvider = WebViewGlueCommunicator.getFactory().getDropDataProvider();
|
|
this.mImpl = dropDataProvider;
|
|
dropDataProvider.onCreate();
|
|
}
|
|
return this.mImpl;
|
|
}
|
|
}
|