Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e94c2737 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[DocsUI M3] Fix crash in grid mode due to missing method in older JDK" into main

parents 9504d243 afb03407
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -299,8 +299,8 @@ final class GridDocumentHolder extends DocumentHolder {
            }
        }

        if (mBullet != null && (mDetails.getVisibility() == View.GONE
                || mDate.getText().isEmpty())) {
        if (mBullet != null && (mDetails.getText() == null || mDetails.getText().length() == 0
                || mDate.getText() == null || mDate.getText().length() == 0)) {
            // There is no need for the bullet separating the details and date.
            mBullet.setVisibility(View.GONE);
        }