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

Commit 9d522d01 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

Voice+, Whisperpush: Need to send SMS_RECEIVED_ACTION for all apps.

Change-Id: I05fe3fb6dc6acea612e25d7a93d0891ad6d1754e
parent 56141865
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -117,6 +117,10 @@ public class IccSmsInterfaceManagerProxy extends ISms.Stub {
        intent.putExtra("pdus", pdus);
        intent.putExtra("format", SmsMessage.FORMAT_SYNTHETIC);
        dispatch(intent, Manifest.permission.RECEIVE_SMS);

        intent.setAction(Intents.SMS_RECEIVED_ACTION);
        intent.setComponent(null);
        dispatch(intent, Manifest.permission.RECEIVE_SMS);
    }

    private void dispatch(Intent intent, String permission) {