Let unencrypted messages through.

This commit is contained in:
Moxie Marlinspike 2013-12-03 08:10:58 -08:00
parent 3a5f9748ff
commit e0aa7fd359

View File

@ -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))
{