Merge "Revert "Add getSystemPhoneApplication to TelecommManager""

This commit is contained in:
Yorke Lee
2014-06-20 16:45:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}
}
}