summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hall Liu <hallliu@google.com> 2020-09-29 15:15:24 -0700
committer Hall Liu <hallliu@google.com> 2020-09-29 15:15:24 -0700
commit4bb53ec753ec7d1f6871e17a942a54e31b2fff55 (patch)
tree7247aff8d378cac69697318535543d21aa21ed31
parentb9e67709b2a7e31a650d211dc5aa952b8cc565f5 (diff)
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
-rw-r--r--telecomm/java/android/telecom/PhoneAccount.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java
index 4a3561b5d509..866e17148a1a 100644
--- a/telecomm/java/android/telecom/PhoneAccount.java
+++ b/telecomm/java/android/telecom/PhoneAccount.java
@@ -49,12 +49,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