Merge branch 'lmp-mr1-dev' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-dev
This commit is contained in:
@@ -587,7 +587,6 @@ public class TelecomManager {
|
|||||||
*
|
*
|
||||||
* @param account The complete {@link PhoneAccount}.
|
* @param account The complete {@link PhoneAccount}.
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
|
||||||
public void registerPhoneAccount(PhoneAccount account) {
|
public void registerPhoneAccount(PhoneAccount account) {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -603,7 +602,6 @@ 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.
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
|
||||||
public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
|
public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -617,7 +615,6 @@ public class TelecomManager {
|
|||||||
/**
|
/**
|
||||||
* Remove all Accounts that belong to the calling package from the system.
|
* Remove all Accounts that belong to the calling package from the system.
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
|
||||||
public void clearAccounts() {
|
public void clearAccounts() {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -671,7 +668,6 @@ public class TelecomManager {
|
|||||||
* Requires permission: {@link android.Manifest.permission#READ_PHONE_STATE}
|
* Requires permission: {@link android.Manifest.permission#READ_PHONE_STATE}
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
|
||||||
public boolean isInCall() {
|
public boolean isInCall() {
|
||||||
try {
|
try {
|
||||||
if (isServiceConnected()) {
|
if (isServiceConnected()) {
|
||||||
@@ -823,7 +819,6 @@ public class TelecomManager {
|
|||||||
* @param extras A bundle that will be passed through to
|
* @param extras A bundle that will be passed through to
|
||||||
* {@link ConnectionService#onCreateIncomingConnection}.
|
* {@link ConnectionService#onCreateIncomingConnection}.
|
||||||
*/
|
*/
|
||||||
@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