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

Commit 2cf63f72 authored by Hall Liu's avatar Hall Liu
Browse files

Update documentation for phone account sort order

Update documentation to reflect that the sort order extra
should contain integers.

Bug: 169153499
Test: docs only
Change-Id: Ic5269d577f007e01a0c9eaa95cd7e8814ab8f79a
Merged-In: Ic5269d577f007e01a0c9eaa95cd7e8814ab8f79a
parent 5968c093
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -48,12 +48,11 @@ import java.util.Objects;
public final class PhoneAccount implements Parcelable {

    /**
     * String extra which determines the order in which {@link PhoneAccount}s are sorted
     * Integer extra which determines the order in which {@link PhoneAccount}s are sorted
     *
     * This is an extras key set via {@link Builder#setExtras} which determines the order in which
     * {@link PhoneAccount}s from the same {@link ConnectionService} are sorted. The accounts
     * are sorted by this key via standard lexicographical order, (as implemented in
     * {@link String#compareTo}), and this ordering is used to
     * are sorted in ascending order by this key, and this ordering is used to
     * determine priority when a call can be placed via multiple accounts.
     *
     * When multiple {@link PhoneAccount}s are supplied with the same sort order key, no ordering is