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

Commit 5921f22e authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Add disclaimer about Notification.Builder.build() returning the same instance.

Bug: 320197562
Change-Id: Ibae764747b00eb16bbc122db22c7162f3dd29b8a
Test: na
Flag: NA
parent 121eff02
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7501,6 +7501,9 @@ public class Notification implements Parcelable
        /**
         * Calls {@link android.app.Notification.Builder#build()} on the Builder this Style is
         * attached to.
         * <p>
         * Note: Calling build() multiple times returns the same Notification instance,
         * so reusing a builder to create multiple Notifications is discouraged.
         *
         * @return the fully constructed Notification.
         */