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

Commit 0c30950e authored by Moez Bhatti's avatar Moez Bhatti Committed by GitHub
Browse files

Merge pull request #604 from...

Merge pull request #604 from frogoscar/enmingxie/Fix_change_SplitSMS_in_Settings_not_taken_into_account

Fix change SplitSMS in Settings not taken into account
parents 4d2b72dd ca1e6227
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);