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

Commit edf1f85b authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Fix new notification showing timestamp "now" after turning off DND"...

Merge "Fix new notification showing timestamp "now" after turning off DND" into pi-dev am: 929ea361
am: d48aca89

Change-Id: I93d5eb4291dcb13e417629f6abb008dc3217e3d0
parents a4a2e77d d48aca89
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -104,6 +104,14 @@ public class DateTimeView extends TextView {
            sReceiverInfo.set(ri);
        }
        ri.addView(this);
        // The view may not be added to the view hierarchy immediately right after setTime()
        // is called which means it won't get any update from intents before being added.
        // In such case, the view might show the incorrect relative time after being added to the
        // view hierarchy until the next update intent comes.
        // So we update the time here if mShowRelativeTime is enabled to prevent this case.
        if (mShowRelativeTime) {
            update();
        }
    }

    @Override