diff options
author | Santos Cordon <santoscordon@google.com> | 2015-04-06 10:50:17 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2015-04-08 11:04:01 -0700 |
commit | 2aebb3fec319f5715e70dc5d3c3139f8821ec6ab (patch) | |
tree | c0b00722940e806d6f136907c13cf0955d1feb46 /telephony/java/android | |
parent | 1ffaca4414c5c2b73e5aaf085728e3b01ea534c3 (diff) | |
download | frameworks_base-2aebb3fec319f5715e70dc5d3c3139f8821ec6ab.zip frameworks_base-2aebb3fec319f5715e70dc5d3c3139f8821ec6ab.tar.gz frameworks_base-2aebb3fec319f5715e70dc5d3c3139f8821ec6ab.tar.bz2 |
Add SIM activation constants to TelephonyManager
Change-Id: I43fe5de4a1137bede4e81f4d51f272ad92dc80d5
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index d8bb0d7..c5573ba 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -575,6 +575,37 @@ public class TelephonyManager { */ public static final String EXTRA_DATA_FAILURE_CAUSE = PhoneConstants.DATA_FAILURE_CAUSE_KEY; + /** + * 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; + // // // Device Info |