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

Commit df245600 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Revert setWhen change" into main

parents c78efcb7 9ebd6ef6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -4538,12 +4538,6 @@ public class Notification implements Parcelable
         */
        @NonNull
        public Builder setWhen(long when) {
            if (updateRankingTime()) {
                // don't show a timestamp that's decades old
                if (mN.extras.getBoolean(EXTRA_SHOW_WHEN, true) && when == 0) {
                    return this;
                }
            }
            mN.when = when;
            return this;
        }