diff options
author | Matt Lee <matthewhlee@google.com> | 2022-06-10 14:38:28 -0700 |
---|---|---|
committer | Matt Lee <matthewhlee@google.com> | 2022-06-12 14:37:46 -0700 |
commit | 64c414abd49acc8d488837ab90b51d822c23e66d (patch) | |
tree | 4b0179f90f7e4ac9781fc0369db8695b0988f94d /telecomm/java/android/telecom/TelecomManager.java | |
parent | d9f8ccd22e60b66ebdd23b67d0181eb3e049facb (diff) | |
parent | 88c2867016d1ded7f27fc34ec4d0ed6f9782e8dd (diff) |
Merge s-mpr-2022-06
Change-Id: I3cbe7c92451e925d58baf7980a9d8556abebc56c
Diffstat (limited to 'telecomm/java/android/telecom/TelecomManager.java')
-rw-r--r-- | telecomm/java/android/telecom/TelecomManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index f6b2135662e0..b2714e692972 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -1462,9 +1462,14 @@ public class TelecomManager { * when placing calls. The user may still need to enable the {@link PhoneAccount} within * the phone app settings before the account is usable. * <p> + * Note: Each package is limited to 10 {@link PhoneAccount} registrations. + * <p> * A {@link SecurityException} will be thrown if an app tries to register a * {@link PhoneAccountHandle} where the package name specified within * {@link PhoneAccountHandle#getComponentName()} does not match the package name of the app. + * <p> + * A {@link IllegalArgumentException} will be thrown if an app tries to register a + * {@link PhoneAccount} when the upper bound limit, 10, has already been reached. * * @param account The complete {@link PhoneAccount}. */ |