From e0aa7fd3598da64054479dcf3b33d7d8c37a722c Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 3 Dec 2013 08:10:58 -0800 Subject: [PATCH] Let unencrypted messages through. --- src/org/thoughtcrime/securesms/service/SmsListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/service/SmsListener.java b/src/org/thoughtcrime/securesms/service/SmsListener.java index f7e2af7640..35ff7a4277 100644 --- a/src/org/thoughtcrime/securesms/service/SmsListener.java +++ b/src/org/thoughtcrime/securesms/service/SmsListener.java @@ -109,7 +109,7 @@ public class SmsListener extends BroadcastReceiver { return false; } - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT && + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT || PreferenceManager.getDefaultSharedPreferences(context) .getBoolean(ApplicationPreferencesActivity.ALL_SMS_PREF, true)) {