diff options
Diffstat (limited to 'test-runner/android/test/mock/MockContentProvider.java')
-rw-r--r-- | test-runner/android/test/mock/MockContentProvider.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-runner/android/test/mock/MockContentProvider.java b/test-runner/android/test/mock/MockContentProvider.java index 9c00ecf..d04fc44 100644 --- a/test-runner/android/test/mock/MockContentProvider.java +++ b/test-runner/android/test/mock/MockContentProvider.java @@ -19,6 +19,7 @@ package android.test.mock; import android.content.ContentValues; import android.content.IContentProvider; import android.content.ISyncAdapter; +import android.content.res.AssetFileDescriptor; import android.database.Cursor; import android.database.CursorWindow; import android.database.IBulkCursor; @@ -82,6 +83,12 @@ public class MockContentProvider implements IContentProvider { } @SuppressWarnings("unused") + public AssetFileDescriptor openAssetFile(Uri uri, String mode) + throws FileNotFoundException { + throw new UnsupportedOperationException("unimplemented mock method"); + } + + @SuppressWarnings("unused") public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) throws RemoteException { throw new UnsupportedOperationException("unimplemented mock method"); |