Fix for bug that could drop unencrypted MMS on KitKat.

This commit is contained in:
Moxie Marlinspike 2013-12-07 11:02:36 -08:00
parent 7489f3463a
commit 7c2fb74af4

View File

@ -51,7 +51,7 @@ public class MmsListener extends BroadcastReceiver {
return false; return false;
} }
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT && if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT ||
PreferenceManager.getDefaultSharedPreferences(context) PreferenceManager.getDefaultSharedPreferences(context)
.getBoolean(ApplicationPreferencesActivity.ALL_MMS_PERF, true)) .getBoolean(ApplicationPreferencesActivity.ALL_MMS_PERF, true))
{ {