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

Commit 0109e158 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Whitelist PHONE_STATE to wakeup apps" into oc-dev

am: 41bf42a1

Change-Id: I0f05d8b0637f7d0b608cbd61cf79924f3593c30b
parents 7561c3fb 41bf42a1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1531,6 +1531,9 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
            intent.putExtra(PhoneConstants.SLOT_KEY, phoneId);
        }

        // Wakeup apps for the (SUBSCRIPTION_)PHONE_STATE broadcast.
        intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);

        // Send broadcast twice, once for apps that have PRIVILEGED permission and once for those
        // that have the runtime one
        mContext.sendBroadcastAsUser(intent, UserHandle.ALL,