Strip out more unused logic from Settings

This commit is contained in:
Moez Bhatti
2018-01-13 18:51:36 -05:00
parent 29d06af0e5
commit 7ea2ee6310
9 changed files with 15 additions and 85 deletions
@@ -167,15 +167,8 @@ public class MmsMessageSender implements MessageSender {
readRec.setDate(System.currentTimeMillis() / 1000);
boolean group;
try {
group = com.klinker.android.send_message.Transaction.settings.getGroup();
} catch (Exception e) {
group = PreferenceManager.getDefaultSharedPreferences(context).getBoolean("group_message", true);
}
PduPersister.getPduPersister(context).persist(readRec, Mms.Outbox.CONTENT_URI, true,
group, null);
true, null);
context.startService(new Intent(context, TransactionService.class));
} catch (InvalidHeaderValueException e) {
Log.e(TAG, "Invalide header value", e);