From 9ad474e95b8d5ddf90353122603ad69b7ad432c7 Mon Sep 17 00:00:00 2001 From: Thialfihar Date: Wed, 2 Jun 2010 19:10:48 +0000 Subject: [PATCH] trivial --- src/org/thialfihar/android/apg/DecryptActivity.java | 1 - src/org/thialfihar/android/apg/provider/DataProvider.java | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/org/thialfihar/android/apg/DecryptActivity.java b/src/org/thialfihar/android/apg/DecryptActivity.java index 859bfc3eb..a1889ea38 100644 --- a/src/org/thialfihar/android/apg/DecryptActivity.java +++ b/src/org/thialfihar/android/apg/DecryptActivity.java @@ -31,7 +31,6 @@ import java.util.regex.Matcher; import org.bouncycastle2.jce.provider.BouncyCastleProvider; import org.bouncycastle2.openpgp.PGPException; -import org.bouncycastle2.util.Strings; import android.app.Dialog; import android.content.ActivityNotFoundException; 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 projectionMap = new HashMap(); int match = mUriMatcher.match(uri);