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

Commit cb4f05c7 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Telephony: Remove setResultCode in a non-ordered broadcast" into cm-10.2

parents bf8d655c 78f774ae
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1663,14 +1663,8 @@ public abstract class SMSDispatcher extends Handler {
                            AppOpsManager.OP_RECEIVE_SMS);
                }

                // Set result (messages were sent)
                setResultCode(android.app.Activity.RESULT_OK);

            } catch (Exception ex) {
                Log.e(TAG, "Failed to dispatch SMS", ex);

                // Set result (messages were not sent)
                setResultCode(android.app.Activity.RESULT_CANCELED);
            }
        }