Hide calllog entries for unregistered phone accounts

Cherry-picked from master

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
This commit is contained in:
Santos Cordon
2015-02-27 15:22:07 -08:00
committed by Nancy Chen
parent 2782f31a73
commit 2d2bc16f2d
3 changed files with 34 additions and 1 deletions

View File

@@ -91,6 +91,15 @@ public class TelecomManager {
public static final String ACTION_CHANGE_PHONE_ACCOUNTS =
"android.telecom.action.CHANGE_PHONE_ACCOUNTS";
/**
* The {@link android.content.Intent} action used indicate that a new phone account was
* just registered.
* @hide
*/
@SystemApi
public static final String ACTION_PHONE_ACCOUNT_REGISTERED =
"android.telecom.action.PHONE_ACCOUNT_REGISTERED";
/**
* Optional extra for {@link android.content.Intent#ACTION_CALL} containing a boolean that
* determines whether the speakerphone should be automatically turned on for an outgoing call.