mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fix for bug that could drop unencrypted MMS on KitKat.
This commit is contained in:
parent
7489f3463a
commit
7c2fb74af4
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user