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

Commit cebc0ce5 authored by Daniel Hillenbrand's avatar Daniel Hillenbrand Committed by Gerrit Code Review
Browse files

Merge "SamsungRIL: clean up and re-organization" into ics

parents b5b364e3 5ef5b1ae
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -230,13 +230,9 @@ public class SamsungRIL extends RIL implements CommandsInterface {
        }

        if (error != 0) {
            //ugly fix for Samsung messing up SMS_SEND request fail in binary RIL
            if(!(error == -1 && rr.mRequest == RIL_REQUEST_SEND_SMS))
            // Ugly fix for Samsung messing up SMS_SEND request fail in binary RIL
            if (error == -1 && rr.mRequest == RIL_REQUEST_SEND_SMS)
            {
                rr.onError(error, ret);
                rr.release();
                return;
            } else {
                try
                {
                    ret = responseSMS(p);
@@ -248,6 +244,10 @@ public class SamsungRIL extends RIL implements CommandsInterface {
                    rr.release();
                    return;
                }
            } else {
                rr.onError(error, ret);
                rr.release();
                return;
            }
        }