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

Commit a1f135ff authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Show time stamp of missed call notification created by Telecom"

am: 49b0d0bc

Change-Id: I95af2499af9aebde0bed0f44c6aa175522b32d82
parents 8168b680 49b0d0bc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -309,6 +309,7 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
        publicBuilder.setSmallIcon(android.R.drawable.stat_notify_missed_call)
        publicBuilder.setSmallIcon(android.R.drawable.stat_notify_missed_call)
                .setColor(mContext.getResources().getColor(R.color.theme_color))
                .setColor(mContext.getResources().getColor(R.color.theme_color))
                .setWhen(callInfo.getCreationTimeMillis())
                .setWhen(callInfo.getCreationTimeMillis())
                .setShowWhen(true)
                // Show "Phone" for notification title.
                // Show "Phone" for notification title.
                .setContentTitle(mContext.getText(R.string.userCallActivityLabel))
                .setContentTitle(mContext.getText(R.string.userCallActivityLabel))
                // Notification details shows that there are missed call(s), but does not reveal
                // Notification details shows that there are missed call(s), but does not reveal
@@ -323,6 +324,7 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
        builder.setSmallIcon(android.R.drawable.stat_notify_missed_call)
        builder.setSmallIcon(android.R.drawable.stat_notify_missed_call)
                .setColor(mContext.getResources().getColor(R.color.theme_color))
                .setColor(mContext.getResources().getColor(R.color.theme_color))
                .setWhen(callInfo.getCreationTimeMillis())
                .setWhen(callInfo.getCreationTimeMillis())
                .setShowWhen(true)
                .setContentTitle(mContext.getText(titleResId))
                .setContentTitle(mContext.getText(titleResId))
                .setContentText(expandedText)
                .setContentText(expandedText)
                .setContentIntent(createCallLogPendingIntent(userHandle))
                .setContentIntent(createCallLogPendingIntent(userHandle))