Do not show the fail icon for a group conversation am: a531636ae3 am: a7b17eaad0
Change-Id: I8b1f5e2b0be01983e6318f154a7c091fded126d4
This commit is contained in:
@@ -159,10 +159,9 @@ public class WidgetConversationListService extends RemoteViewsService {
|
||||
// Error
|
||||
// Only show the fail icon if it is not a group conversation.
|
||||
// And also require that we be the default sms app.
|
||||
final boolean showError = conv.getIsFailedStatus() &&
|
||||
isDefaultSmsApp;
|
||||
final boolean showDraft = conv.getShowDraft() &&
|
||||
isDefaultSmsApp;
|
||||
final boolean showError =
|
||||
conv.getIsFailedStatus() && !conv.getIsGroup() && isDefaultSmsApp;
|
||||
final boolean showDraft = conv.getShowDraft() && isDefaultSmsApp;
|
||||
remoteViews.setViewVisibility(R.id.conversation_failed_status_icon,
|
||||
showError && includeAvatar ?
|
||||
View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user