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

Commit 6775bdf2 authored by qing's avatar qing Committed by Qing Zhong
Browse files

Add phone account into missed call broadcast

This is a manual CP from https://googleplex-android-review.git.corp.google.com/c/platform/packages/services/Telecomm/+/17435711

Test: no test needed
Bug: 223404112
Change-Id: I6453fc6ab7ebea03a610a9dcc33347aab8ac2033
parent 774394e2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -268,7 +268,9 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
                    createClearMissedCallsPendingIntent(userHandle))
            .putExtra(TelecomManager.EXTRA_NOTIFICATION_COUNT, missedCallCount)
            .putExtra(TelecomManager.EXTRA_NOTIFICATION_PHONE_NUMBER,
                    callInfo == null ? null : callInfo.getPhoneNumber());
                    callInfo == null ? null : callInfo.getPhoneNumber())
            .putExtra(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE,
                    callInfo == null ? null : callInfo.getPhoneAccountHandle());

        if (missedCallCount == 1 && callInfo != null) {
            final Uri handleUri = callInfo.getHandle();