diff options
author | Thialfihar <thialfihar@gmail.com> | 2010-06-02 19:10:48 +0000 |
---|---|---|
committer | Thialfihar <thialfihar@gmail.com> | 2010-06-02 19:10:48 +0000 |
commit | 9ad474e95b8d5ddf90353122603ad69b7ad432c7 (patch) | |
tree | 99b277931de2a3b2f7871134021e1e3f0e38c2ee | |
parent | 2170069d8adb6472955ec1a444da7fba36015602 (diff) | |
download | open-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.tar.gz open-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.tar.bz2 open-keychain-9ad474e95b8d5ddf90353122603ad69b7ad432c7.zip |
trivial
-rw-r--r-- | src/org/thialfihar/android/apg/DecryptActivity.java | 1 | ||||
-rw-r--r-- | src/org/thialfihar/android/apg/provider/DataProvider.java | 6 |
2 files changed, 1 insertions, 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<String, String> projectionMap = new HashMap<String, String>(); int match = mUriMatcher.match(uri); |