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