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

Commit eff9661b authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Revert "Add getSystemPhoneApplication to TelecommManager""

parents 9285d1bf 5e0f061c
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;
        }
    }
}