aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/provider/DataProvider.java
diff options
context:
space:
mode:
authorThialfihar <thialfihar@gmail.com>2010-06-02 19:10:48 +0000
committerThialfihar <thialfihar@gmail.com>2010-06-02 19:10:48 +0000
commit9ad474e95b8d5ddf90353122603ad69b7ad432c7 (patch)
tree99b277931de2a3b2f7871134021e1e3f0e38c2ee /src/org/thialfihar/android/apg/provider/DataProvider.java
parent2170069d8adb6472955ec1a444da7fba36015602 (diff)
downloadopen-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.tar.gz
open-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.tar.bz2
open-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.zip
trivial
Diffstat (limited to 'src/org/thialfihar/android/apg/provider/DataProvider.java')
-rw-r--r--src/org/thialfihar/android/apg/provider/DataProvider.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/org/thialfihar/android/apg/provider/DataProvider.java b/src/org/thialfihar/android/apg/provider/DataProvider.java
index d01fc6c92..8a3fefdff 100644
--- a/src/org/thialfihar/android/apg/provider/DataProvider.java
+++ b/src/org/thialfihar/android/apg/provider/DataProvider.java
@@ -21,14 +21,9 @@ import java.util.HashMap;
import org.thialfihar.android.apg.Id;
import android.content.ContentProvider;
-import android.content.ContentUris;
import android.content.ContentValues;
-import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
-import android.database.SQLException;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
import android.text.TextUtils;
@@ -119,6 +114,7 @@ public class DataProvider extends ContentProvider {
@Override
public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
+ // TODO: implement the others, then use them for the lists
SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
HashMap<String, String> projectionMap = new HashMap<String, String>();
int match = mUriMatcher.match(uri);