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

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

Merge "Ensure all public views receive the group when." into main

parents 84b36fc4 21ac22a3
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -358,11 +358,7 @@ public class NotificationHeaderViewWrapper extends NotificationViewWrapper imple
     * @param whenMillis
     */
    public void setNotificationWhen(long whenMillis) {
        if (mNotificationHeader == null) {
            return;
        }

        final View timeView = mNotificationHeader.findViewById(com.android.internal.R.id.time);
        final View timeView = mView.findViewById(com.android.internal.R.id.time);

        if (timeView instanceof DateTimeView) {
            ((DateTimeView) timeView).setTime(whenMillis);