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 @@ -1639,15 +1639,21 @@ protected RemoteViews getStandardView(int layoutId) {
16391639
16401640 if (mBuilder .mSubText == null ) {
16411641 contentView .setViewVisibility (R .id .line3 , View .GONE );
1642+ } else {
1643+ contentView .setViewVisibility (R .id .line3 , View .VISIBLE );
16421644 }
16431645
16441646 if (mBigContentTitle != null && mBigContentTitle .equals ("" )) {
16451647 contentView .setViewVisibility (R .id .line1 , View .GONE );
1648+ } else {
1649+ contentView .setViewVisibility (R .id .line1 , View .VISIBLE );
16461650 }
16471651
16481652 if (mSummaryText != null && !mSummaryText .equals ("" )) {
16491653 contentView .setViewVisibility (R .id .overflow_title , View .VISIBLE );
16501654 contentView .setTextViewText (R .id .overflow_title , mSummaryText );
1655+ } else {
1656+ contentView .setViewVisibility (R .id .overflow_title , View .GONE );
16511657 }
16521658
16531659 return contentView ;
@@ -1854,6 +1860,8 @@ private RemoteViews makeBigContentView() {
18541860 if (str != null && !str .equals ("" )) {
18551861 contentView .setViewVisibility (rowIds [i ], View .VISIBLE );
18561862 contentView .setTextViewText (rowIds [i ], str );
1863+ } else {
1864+ contentView .setViewVisibility (rowIds [i ], View .GONE );
18571865 }
18581866 i ++;
18591867 }
You can’t perform that action at this time.
0 commit comments