Merge "Fixed an issue where the largeIcon wouldn't be shown for non-shortcuts" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a3c47e791e
@@ -7584,7 +7584,9 @@ public class Notification implements Parcelable
|
||||
}
|
||||
boolean isConversationLayout = mConversationType != CONVERSATION_TYPE_LEGACY;
|
||||
boolean isImportantConversation = mConversationType == CONVERSATION_TYPE_IMPORTANT;
|
||||
Icon largeIcon = isConversationLayout ? mShortcutIcon : mBuilder.mN.mLargeIcon;
|
||||
Icon largeIcon = isConversationLayout && mShortcutIcon != null
|
||||
? mShortcutIcon
|
||||
: mBuilder.mN.mLargeIcon;
|
||||
TemplateBindResult bindResult = new TemplateBindResult();
|
||||
StandardTemplateParams p = mBuilder.mParams.reset()
|
||||
.hasProgress(false)
|
||||
|
||||
Reference in New Issue
Block a user