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

Commit c1717ac3 authored by uabdullah's avatar uabdullah Committed by Copybara-Service
Browse files

Take voicemail alert position into account for "older" header for NUI Voicemail Tab

The older header must take into account and be offset when there is a voicemail alert being shown.

Bug: 71700117
Test: N/A
PiperOrigin-RevId: 182243160
Change-Id: Ib38ba82e75fedf9a2939078447e4791f5239524c
parent b68ae2c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ final class NewVoicemailAdapter extends RecyclerView.Adapter<ViewHolder>
        this.olderHeaderPosition = Integer.MAX_VALUE; // Didn't find any "Older" rows.
      } else {
        this.todayHeaderPosition = Integer.MAX_VALUE; // Didn't find any "Today" rows.
        this.olderHeaderPosition = 0;
        this.olderHeaderPosition = 0 + alertOffSet;
      }
    } else { // There are no rows, just need to set these because they are final.
      this.todayHeaderPosition = Integer.MAX_VALUE;