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

Commit 645a9d12 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix @NonNull -> Nullable for Intent.replaceExtras()."

parents 3a0fe2cd 13991174
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9062,7 +9062,7 @@ public class Intent implements Parcelable, Cloneable {
     * @param extras The new set of extras in the Intent, or null to erase
     * all extras.
     */
    public @NonNull Intent replaceExtras(@NonNull Bundle extras) {
    public @NonNull Intent replaceExtras(@Nullable Bundle extras) {
        mExtras = extras != null ? new Bundle(extras) : null;
        return this;
    }