File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1637,15 +1637,21 @@ protected RemoteViews getStandardView(int layoutId) {
16371637
16381638 if (mBuilder .mSubText == null ) {
16391639 contentView .setViewVisibility (R .id .line3 , View .GONE );
1640+ } else {
1641+ contentView .setViewVisibility (R .id .line3 , View .VISIBLE );
16401642 }
16411643
16421644 if (mBigContentTitle != null && mBigContentTitle .equals ("" )) {
16431645 contentView .setViewVisibility (R .id .line1 , View .GONE );
1646+ } else {
1647+ contentView .setViewVisibility (R .id .line1 , View .VISIBLE );
16441648 }
16451649
16461650 if (mSummaryText != null && !mSummaryText .equals ("" )) {
16471651 contentView .setViewVisibility (R .id .overflow_title , View .VISIBLE );
16481652 contentView .setTextViewText (R .id .overflow_title , mSummaryText );
1653+ } else {
1654+ contentView .setViewVisibility (R .id .overflow_title , View .GONE );
16491655 }
16501656
16511657 return contentView ;
@@ -1852,6 +1858,8 @@ private RemoteViews makeBigContentView() {
18521858 if (str != null && !str .equals ("" )) {
18531859 contentView .setViewVisibility (rowIds [i ], View .VISIBLE );
18541860 contentView .setTextViewText (rowIds [i ], str );
1861+ } else {
1862+ contentView .setViewVisibility (rowIds [i ], View .GONE );
18551863 }
18561864 i ++;
18571865 }
You can’t perform that action at this time.
0 commit comments