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

Commit d4e7e233 authored by Tyler Gunn's avatar Tyler Gunn Committed by Automerger Merge Worker
Browse files

Merge "limit TelecomManager#registerPhoneAccount to 10; api doc update" into...

Merge "limit TelecomManager#registerPhoneAccount to 10; api doc update" into qt-dev am: 08f8988b am: 8193edd1 am: 74f9b7f4 am: 6b36ce68 am: e518ef64 am: 4636aea5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16908080



Change-Id: Icd89bfbe997fd18e8b8bfcddd5c198ad34d8d8c6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2ab56508 4636aea5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1444,9 +1444,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}.
     */