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

Commit 216373cd authored by Chen Xu's avatar Chen Xu
Browse files

SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent

Bug: 135956699
Test: Build
Change-Id: I823bde70aba6940fd9ddd6193d80542c8f3e0e6d
parent 15b082c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ public class CellBroadcastHandler extends WakeLockStateMachine {
            msg = "Dispatching emergency SMS CB, SmsCbMessage is: " + message;
            log(msg);
            mLocalLog.log(msg);
            intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
            intent = new Intent(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED);
            //Emergency alerts need to be delivered with high priority
            intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
            receiverPermission = Manifest.permission.RECEIVE_EMERGENCY_BROADCAST;