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

Commit 25650ac0 authored by James Lemieux's avatar James Lemieux Committed by Android (Google) Code Review
Browse files

Merge "Expand the alarm requested for display" into ub-deskclock-charm

parents 69f48faa 7ebf2774
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ public final class AlarmClockFragment extends DeskClockFragment implements
        }

        if (alarmPosition >= 0) {
            smoothScrollTo(alarmPosition);
            mAlarmTimeAdapter.expand(alarmPosition);
        } else {
            // Trying to display a deleted alarm should only happen from a missed notification for
            // an alarm that has been marked deleted after use.
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public final class AlarmTimeAdapter extends RecyclerView.Adapter<AlarmTimeViewHo
    }

    /**
     * Request the UI to expand the alarm at selected position.
     * Request the UI to expand the alarm at selected position and scroll it into view.
     */
    public void expand(int position) {
        final long stableId = getItemId(position);