diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 79d57b039..7ca1a3145 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -17,7 +17,7 @@ + android:versionCode="18" android:versionName="1.0.4"> " also fuck up the signature @@ -597,6 +597,10 @@ public class EncryptActivity extends BaseActivity { message = message.replaceFirst("\n*$", "\n"); } + if (signOnly && !message.endsWith("\n")) { + message += '\n'; + } + byte[] byteData = Strings.toUTF8ByteArray(message); in = new ByteArrayInputStream(byteData); out = new ByteArrayOutputStream(); diff --git a/src/org/thialfihar/android/apg/KeyListActivity.java b/src/org/thialfihar/android/apg/KeyListActivity.java index 1e531676b..c9880e8fe 100644 --- a/src/org/thialfihar/android/apg/KeyListActivity.java +++ b/src/org/thialfihar/android/apg/KeyListActivity.java @@ -510,6 +510,7 @@ public class KeyListActivity extends BaseActivity { qb.appendWhere(")"); } +<<<<<<< HEAD String query = qb.buildQuery(new String[] { KeyRings.TABLE_NAME + "." + KeyRings._ID, // 0 KeyRings.TABLE_NAME + "." + KeyRings.MASTER_KEY_ID, // 1 @@ -520,6 +521,8 @@ public class KeyListActivity extends BaseActivity { Id.database.type_public : Id.database.type_secret) }, null, null, UserIds.TABLE_NAME + "." + UserIds.USER_ID + " ASC", null); +======= +>>>>>>> 1.0.x mCursor = qb.query(mDatabase, new String[] { KeyRings.TABLE_NAME + "." + KeyRings._ID, // 0