Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca1e6227 authored by Enming Xie's avatar Enming Xie
Browse files

Fix change SplitSMS in Settings not taken into account

parent 0f39237e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ import com.google.android.mms.smil.SmilHelper;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.koushikdutta.ion.Ion;
import com.moez.QKSMS.common.QKPreferences;
import com.moez.QKSMS.enums.QKPreference;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
@@ -231,7 +233,7 @@ public class Transaction {
                SmsManager smsManager = SmsManager.getDefault();
                if (LOCAL_LOGV) Log.v(TAG, "found sms manager");

                if (settings.getSplit()) {
                if (QKPreferences.getBoolean(QKPreference.SPLIT_SMS)) {
                    if (LOCAL_LOGV) Log.v(TAG, "splitting message");
                    // figure out the length of supported message
                    int[] splitData = SmsMessage.calculateLength(body, false);