Add @TestApi to createLaunchEmergencyDialerIntent

Test: build
Bug: 154867896
Change-Id: Id2eb94b233c6c00a81c51d17c5414b3cce5ebdf5
This commit is contained in:
Fan Zhang
2020-04-27 20:14:55 -07:00
parent 61b20fd6e7
commit f7c753bc16
2 changed files with 2 additions and 0 deletions

View File

@@ -3691,6 +3691,7 @@ package android.telecom {
}
public class TelecomManager {
method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String);
method @NonNull @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(boolean);
method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public int getCurrentTtyMode();
method @Nullable @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public String getDefaultDialerPackage(@NonNull android.os.UserHandle);

View File

@@ -2215,6 +2215,7 @@ public class TelecomManager {
* @hide
*/
@SystemApi
@TestApi
@NonNull
public Intent createLaunchEmergencyDialerIntent(@Nullable String number) {
ITelecomService service = getTelecomService();