Merge changes I7dc8f5fd,Ia5262ca7 into rvc-dev am: 279238f3c2 am: 671d3aed9a
Change-Id: I258abe30eef2beefae001d204f75d154af8f2903
This commit is contained in:
@@ -7589,10 +7589,8 @@ public class Notification implements Parcelable
|
||||
>= Build.VERSION_CODES.P;
|
||||
boolean isOneToOne;
|
||||
CharSequence nameReplacement = null;
|
||||
Icon avatarReplacement = null;
|
||||
if (!atLeastP) {
|
||||
isOneToOne = TextUtils.isEmpty(conversationTitle);
|
||||
avatarReplacement = mBuilder.mN.mLargeIcon;
|
||||
if (hasOnlyWhiteSpaceSenders()) {
|
||||
isOneToOne = true;
|
||||
nameReplacement = conversationTitle;
|
||||
@@ -7641,7 +7639,7 @@ public class Notification implements Parcelable
|
||||
contentView.setBoolean(R.id.status_bar_latest_event_content, "setIsCollapsed",
|
||||
isCollapsed);
|
||||
contentView.setIcon(R.id.status_bar_latest_event_content, "setAvatarReplacement",
|
||||
avatarReplacement);
|
||||
mBuilder.mN.mLargeIcon);
|
||||
contentView.setCharSequence(R.id.status_bar_latest_event_content, "setNameReplacement",
|
||||
nameReplacement);
|
||||
contentView.setBoolean(R.id.status_bar_latest_event_content, "setIsOneToOne",
|
||||
|
||||
@@ -169,7 +169,7 @@ public class NotificationHeaderViewWrapper extends NotificationViewWrapper {
|
||||
@Override
|
||||
public void onContentUpdated(ExpandableNotificationRow row) {
|
||||
super.onContentUpdated(row);
|
||||
mIsLowPriority = row.isLowPriority();
|
||||
mIsLowPriority = row.getEntry().isAmbient();
|
||||
mTransformLowPriorityTitle = !row.isChildInGroup() && !row.isSummaryWithChildren();
|
||||
ArraySet<View> previousViews = mTransformationHelper.getAllTransformingViews();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user