OSDN Git Service

Enhance pin/puk support
[android-x86/frameworks-base.git] / telephony / java / com / android / internal / telephony / PhoneConstants.java
index 4a4a62b..4163255 100644 (file)
@@ -86,6 +86,14 @@ public class PhoneConstants {
     public static final String REASON_LINK_PROPERTIES_CHANGED = "linkPropertiesChanged";
 
     /**
+     * Return codes for supplyPinReturnResult and
+     * supplyPukReturnResult APIs
+     */
+    public static final int PIN_RESULT_SUCCESS = 0;
+    public static final int PIN_PASSWORD_INCORRECT = 1;
+    public static final int PIN_GENERAL_FAILURE = 2;
+
+    /**
      * Return codes for <code>enableApnType()</code>
      */
     public static final int APN_ALREADY_ACTIVE     = 0;