diff options
author | Tyler Gunn <tgunn@google.com> | 2017-07-10 23:28:51 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-10 23:28:51 +0000 |
commit | 65ef9a7acb09ed97009c5acac9a8131c1e168090 (patch) | |
tree | 278c5d2cdf32cf6e5a6f3ae4e383d1eae216b3d4 | |
parent | fe90a7982782761ba82cb5a0a045a418529b6f7f (diff) | |
parent | 6afec93c7a6365e8aa40788b6ec6faa7ce1375ed (diff) | |
download | android_packages_services_Telecomm-65ef9a7acb09ed97009c5acac9a8131c1e168090.tar.gz android_packages_services_Telecomm-65ef9a7acb09ed97009c5acac9a8131c1e168090.tar.bz2 android_packages_services_Telecomm-65ef9a7acb09ed97009c5acac9a8131c1e168090.zip |
Merge "Show time stamp of missed call notification created by Telecom" am: 49b0d0bc27 am: a1f135ff3c am: 134d03cb1d
am: 6afec93c7a
Change-Id: I291025465bd5e20049aa89270c61685f39be1407
-rw-r--r-- | src/com/android/server/telecom/ui/MissedCallNotifierImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java b/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java index bbacd36a..98516743 100644 --- a/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java +++ b/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java @@ -309,6 +309,7 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements publicBuilder.setSmallIcon(android.R.drawable.stat_notify_missed_call) .setColor(mContext.getResources().getColor(R.color.theme_color)) .setWhen(callInfo.getCreationTimeMillis()) + .setShowWhen(true) // Show "Phone" for notification title. .setContentTitle(mContext.getText(R.string.userCallActivityLabel)) // 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) .setColor(mContext.getResources().getColor(R.color.theme_color)) .setWhen(callInfo.getCreationTimeMillis()) + .setShowWhen(true) .setContentTitle(mContext.getText(titleResId)) .setContentText(expandedText) .setContentIntent(createCallLogPendingIntent(userHandle)) |