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

Commit 25bc14e9 authored by Wei Wang's avatar Wei Wang
Browse files

Improve document for Location#setExtras(Bundle).

Bug: 69682430
Test: it compiles
Change-Id: I4e2d0ab05faa8cd8c08cd19b130a1022ae1068f0
parent 7f3e2ab6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1033,6 +1033,9 @@ public class Location implements Parcelable {
    /**
     * Sets the extra information associated with this fix to the
     * given Bundle.
     *
     * <p>Note this stores a copy of the given extras, so any changes to extras after calling this
     * method won't be reflected in the location bundle.
     */
    public void setExtras(Bundle extras) {
        mExtras = (extras == null) ? null : new Bundle(extras);