am 8f8bffa1: Merge "Add @SystemApi to missing TelecomManager methods" into lmp-dev
* commit '8f8bffa1f19a5b2cf9c9ac9c5ca37d4473fa1181': Add @SystemApi to missing TelecomManager methods
This commit is contained in:
@@ -584,6 +584,7 @@ public class TelecomManager {
|
|||||||
* @param account The complete {@link PhoneAccount}.
|
* @param account The complete {@link PhoneAccount}.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public void registerPhoneAccount(PhoneAccount account) {
|
public void registerPhoneAccount(PhoneAccount account) {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -600,6 +601,7 @@ public class TelecomManager {
|
|||||||
* @param accountHandle A {@link PhoneAccountHandle} for the {@link PhoneAccount} to unregister.
|
* @param accountHandle A {@link PhoneAccountHandle} for the {@link PhoneAccount} to unregister.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
|
public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -800,6 +802,7 @@ public class TelecomManager {
|
|||||||
* {@link ConnectionService#onCreateIncomingConnection}.
|
* {@link ConnectionService#onCreateIncomingConnection}.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public void addNewIncomingCall(PhoneAccountHandle phoneAccount, Bundle extras) {
|
public void addNewIncomingCall(PhoneAccountHandle phoneAccount, Bundle extras) {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user