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

Commit ce11decc authored by Evan Charlton's avatar Evan Charlton
Browse files

Add @SystemApi to missing TelecomManager methods

A few methods (which should be exposed) were missing @SystemApi
annotations.

TelecomManager#addNewIncomingCall
TelecomManager#registerPhoneAccount
TelecomManager#unregisterPhoneAccount

Bug: 17786491
Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884
parent 5c6756fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -584,6 +584,7 @@ public class TelecomManager {
     * @param account The complete {@link PhoneAccount}.
     * @hide
     */
    @SystemApi
    public void registerPhoneAccount(PhoneAccount account) {
        try {
            if (isServiceConnected()) {
@@ -600,6 +601,7 @@ public class TelecomManager {
     * @param accountHandle A {@link PhoneAccountHandle} for the {@link PhoneAccount} to unregister.
     * @hide
     */
    @SystemApi
    public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
        try {
            if (isServiceConnected()) {
@@ -800,6 +802,7 @@ public class TelecomManager {
     *            {@link ConnectionService#onCreateIncomingConnection}.
     * @hide
     */
    @SystemApi
    public void addNewIncomingCall(PhoneAccountHandle phoneAccount, Bundle extras) {
        try {
            if (isServiceConnected()) {