Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02333721 authored by sandeepjs's avatar sandeepjs
Browse files

Un-deprecating EuiccCardManager#RESULT_PROFILE_NOT_FOUND

Un-deprecating EuiccCardManager#RESULT_PROFILE_NOT_FOUND and
updating javadoc as this constant is not used in Android U+
Test: build
Bug: 258198948

Change-Id: I54a2743d32c6090bdd34aef6eda1fe3e89f52ae6
parent f3d9ff22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14239,7 +14239,7 @@ package android.telephony.euicc {
    field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe
    field public static final int RESULT_OK = 0; // 0x0
    field public static final int RESULT_PROFILE_DOES_NOT_EXIST = -4; // 0xfffffffc
    field @Deprecated public static final int RESULT_PROFILE_NOT_FOUND = 1; // 0x1
    field public static final int RESULT_PROFILE_NOT_FOUND = 1; // 0x1
    field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff
  }
+3 −3
Original line number Diff line number Diff line
@@ -118,10 +118,10 @@ public class EuiccCardManager {
    /** Resets the default SM-DP+ address. */
    public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 1 << 2;

    /** Result code when the requested profile is not found
     * @deprecated use {@link #RESULT_PROFILE_DOES_NOT_EXIST}
    /** Result code when the requested profile is not found.
     * {@link #RESULT_PROFILE_NOT_FOUND} is not used in Android U+,
     * use {@link #RESULT_PROFILE_DOES_NOT_EXIST} instead.
     **/
    @Deprecated
    public static final int RESULT_PROFILE_NOT_FOUND = 1;

    /** Result code of execution with no error. */