Cleanup and simplification

This commit is contained in:
Dominik Schürmann committed 2014-03-13 18:27:08 +01:00
1 parent fb1b0deaf5
commit 471cefa71f
2 files changed
+24 -61

No files matched your search

@@ -414,7 +414,7 @@ public class KeychainProvider extends ContentProvider {
* Builds default query for keyRings: KeyRings table is joined with UserIds and Keys
*/
private SQLiteQueryBuilder buildKeyRingQuery(SQLiteQueryBuilder qb, int match) {
if(match != UNIFIED_KEY_RING) {
if (match != UNIFIED_KEY_RING) {
// public or secret keyring
qb.appendWhere(Tables.KEY_RINGS + "." + KeyRingsColumns.TYPE + " = ");
qb.appendWhereEscapeString(Integer.toString(getKeyType(match)));