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

Commit 4bc07b17 authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Add disclaimer about Notification.Builder.build() returning the same instance." into main

parents 670ec4a1 5921f22e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7531,6 +7531,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.
         */