remove SIM_ACTIVATION_RESPONSE_CODE from sysapi

those response codes was introduced from N.
But only parts of the implementation was checked-in and has been
disabled since then. in O, we introduce the SimActivationTracker
inside telephonyFramework with a new set of activation status
which will replace those deprecated activation response code.

Bug: 31061369
Test: Manual
Change-Id: Idae5d7f6e76f36a60e602bf2ec48116b5748ca0f
This commit is contained in:
fionaxu
2017-02-01 09:51:28 -08:00
parent 9f864522af
commit 015a2ede72
2 changed files with 0 additions and 36 deletions

View File

@@ -42369,11 +42369,6 @@ package android.telephony {
field public static final int PHONE_TYPE_GSM = 1; // 0x1
field public static final int PHONE_TYPE_NONE = 0; // 0x0
field public static final int PHONE_TYPE_SIP = 3; // 0x3
field public static final int SIM_ACTIVATION_RESULT_CANCELED = 4; // 0x4
field public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0; // 0x0
field public static final int SIM_ACTIVATION_RESULT_FAILED = 3; // 0x3
field public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2; // 0x2
field public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1; // 0x1
field public static final int SIM_STATE_ABSENT = 1; // 0x1
field public static final int SIM_STATE_CARD_IO_ERROR = 8; // 0x8
field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9

View File

@@ -819,37 +819,6 @@ public class TelephonyManager {
public static final String EVENT_DOWNGRADE_DATA_DISABLED =
"android.telephony.event.EVENT_DOWNGRADE_DATA_DISABLED";
/**
* Response codes for sim activation. Activation completed successfully.
* @hide
*/
@SystemApi
public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0;
/**
* Response codes for sim activation. Activation not supported (device has no SIM).
* @hide
*/
@SystemApi
public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1;
/**
* Response codes for sim activation. Activation is in progress.
* @hide
*/
@SystemApi
public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2;
/**
* Response codes for sim activation. Activation failed to complete.
* @hide
*/
@SystemApi
public static final int SIM_ACTIVATION_RESULT_FAILED = 3;
/**
* Response codes for sim activation. Activation canceled by user.
* @hide
*/
@SystemApi
public static final int SIM_ACTIVATION_RESULT_CANCELED = 4;
/* Visual voicemail protocols */
/**