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

Commit 5e0f061c authored by Yorke Lee's avatar Yorke Lee
Browse files

Revert "Add getSystemPhoneApplication to TelecommManager"

This reverts commit 8200c05dcf206f2621fc8017235c739b66d57e8b.

Change-Id: I6536627491830804ddedac0287fa0bcdf014280c
parent 8b74c4f6
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -16,9 +16,7 @@

package android.telecomm;

import android.content.ComponentName;
import android.content.Context;
import android.os.RemoteException;

import com.android.internal.telecomm.ITelecommService;

@@ -47,14 +45,4 @@ public class TelecommManager {
    public static TelecommManager from(Context context) {
        return (TelecommManager) context.getSystemService(Context.TELECOMM_SERVICE);
    }

    /** {@hide} */
    public ComponentName getSystemPhoneApplication() {
        try {
            return mService.getSystemPhoneApplication();
        } catch (RemoteException e) {
            Log.e(TAG, e, "Error calling ITelecommService#getSystemPhoneApplication");
            return null;
        }
    }
}