Loading api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -44911,6 +44911,7 @@ package android.telephony.euicc { method public boolean isEnabled(); method public boolean isEnabled(); method public void startResolutionActivity(android.app.Activity, int, android.content.Intent, android.app.PendingIntent) throws android.content.IntentSender.SendIntentException; method public void startResolutionActivity(android.app.Activity, int, android.content.Intent, android.app.PendingIntent) throws android.content.IntentSender.SendIntentException; method public void switchToSubscription(int, android.app.PendingIntent); method public void switchToSubscription(int, android.app.PendingIntent); method public void updateSubscriptionNickname(int, java.lang.String, android.app.PendingIntent); field public static final java.lang.String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; field public static final java.lang.String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; field public static final java.lang.String ACTION_NOTIFY_CARRIER_SETUP_INCOMPLETE = "android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE"; field public static final java.lang.String ACTION_NOTIFY_CARRIER_SETUP_INCOMPLETE = "android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE"; field public static final int EMBEDDED_SUBSCRIPTION_RESULT_ERROR = 2; // 0x2 field public static final int EMBEDDED_SUBSCRIPTION_RESULT_ERROR = 2; // 0x2 telephony/java/android/telephony/euicc/EuiccManager.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -616,14 +616,13 @@ public class EuiccManager { /** /** * Update the nickname for the given subscription. * Update the nickname for the given subscription. * * * <p>Requires that the calling app has the * <p>Requires that the calling app has carrier privileges according to the metadata of the * {@link android.Manifest.permission#WRITE_EMBEDDED_SUBSCRIPTIONS} permission. This is for * profile to be updated, or the * internal system use only. * {@code android.Manifest.permission#WRITE_EMBEDDED_SUBSCRIPTIONS} permission. * * * @param subscriptionId the ID of the subscription to update. * @param subscriptionId the ID of the subscription to update. * @param nickname the new nickname to apply. * @param nickname the new nickname to apply. * @param callbackIntent a PendingIntent to launch when the operation completes. * @param callbackIntent a PendingIntent to launch when the operation completes. * @hide */ */ @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void updateSubscriptionNickname( public void updateSubscriptionNickname( Loading @@ -634,7 +633,7 @@ public class EuiccManager { } } try { try { getIEuiccController().updateSubscriptionNickname( getIEuiccController().updateSubscriptionNickname( subscriptionId, nickname, callbackIntent); subscriptionId, nickname, mContext.getOpPackageName(), callbackIntent); } catch (RemoteException e) { } catch (RemoteException e) { throw e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl +1 −1 Original line number Original line Diff line number Diff line Loading @@ -39,7 +39,7 @@ interface IEuiccController { oneway void switchToSubscription(int subscriptionId, String callingPackage, oneway void switchToSubscription(int subscriptionId, String callingPackage, in PendingIntent callbackIntent); in PendingIntent callbackIntent); oneway void updateSubscriptionNickname(int subscriptionId, String nickname, oneway void updateSubscriptionNickname(int subscriptionId, String nickname, in PendingIntent callbackIntent); String callingPackage, in PendingIntent callbackIntent); oneway void eraseSubscriptions(in PendingIntent callbackIntent); oneway void eraseSubscriptions(in PendingIntent callbackIntent); oneway void retainSubscriptionsForFactoryReset(in PendingIntent callbackIntent); oneway void retainSubscriptionsForFactoryReset(in PendingIntent callbackIntent); } } No newline at end of file Loading
api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -44911,6 +44911,7 @@ package android.telephony.euicc { method public boolean isEnabled(); method public boolean isEnabled(); method public void startResolutionActivity(android.app.Activity, int, android.content.Intent, android.app.PendingIntent) throws android.content.IntentSender.SendIntentException; method public void startResolutionActivity(android.app.Activity, int, android.content.Intent, android.app.PendingIntent) throws android.content.IntentSender.SendIntentException; method public void switchToSubscription(int, android.app.PendingIntent); method public void switchToSubscription(int, android.app.PendingIntent); method public void updateSubscriptionNickname(int, java.lang.String, android.app.PendingIntent); field public static final java.lang.String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; field public static final java.lang.String ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS = "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS"; field public static final java.lang.String ACTION_NOTIFY_CARRIER_SETUP_INCOMPLETE = "android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE"; field public static final java.lang.String ACTION_NOTIFY_CARRIER_SETUP_INCOMPLETE = "android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE"; field public static final int EMBEDDED_SUBSCRIPTION_RESULT_ERROR = 2; // 0x2 field public static final int EMBEDDED_SUBSCRIPTION_RESULT_ERROR = 2; // 0x2
telephony/java/android/telephony/euicc/EuiccManager.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -616,14 +616,13 @@ public class EuiccManager { /** /** * Update the nickname for the given subscription. * Update the nickname for the given subscription. * * * <p>Requires that the calling app has the * <p>Requires that the calling app has carrier privileges according to the metadata of the * {@link android.Manifest.permission#WRITE_EMBEDDED_SUBSCRIPTIONS} permission. This is for * profile to be updated, or the * internal system use only. * {@code android.Manifest.permission#WRITE_EMBEDDED_SUBSCRIPTIONS} permission. * * * @param subscriptionId the ID of the subscription to update. * @param subscriptionId the ID of the subscription to update. * @param nickname the new nickname to apply. * @param nickname the new nickname to apply. * @param callbackIntent a PendingIntent to launch when the operation completes. * @param callbackIntent a PendingIntent to launch when the operation completes. * @hide */ */ @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void updateSubscriptionNickname( public void updateSubscriptionNickname( Loading @@ -634,7 +633,7 @@ public class EuiccManager { } } try { try { getIEuiccController().updateSubscriptionNickname( getIEuiccController().updateSubscriptionNickname( subscriptionId, nickname, callbackIntent); subscriptionId, nickname, mContext.getOpPackageName(), callbackIntent); } catch (RemoteException e) { } catch (RemoteException e) { throw e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading
telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl +1 −1 Original line number Original line Diff line number Diff line Loading @@ -39,7 +39,7 @@ interface IEuiccController { oneway void switchToSubscription(int subscriptionId, String callingPackage, oneway void switchToSubscription(int subscriptionId, String callingPackage, in PendingIntent callbackIntent); in PendingIntent callbackIntent); oneway void updateSubscriptionNickname(int subscriptionId, String nickname, oneway void updateSubscriptionNickname(int subscriptionId, String nickname, in PendingIntent callbackIntent); String callingPackage, in PendingIntent callbackIntent); oneway void eraseSubscriptions(in PendingIntent callbackIntent); oneway void eraseSubscriptions(in PendingIntent callbackIntent); oneway void retainSubscriptionsForFactoryReset(in PendingIntent callbackIntent); oneway void retainSubscriptionsForFactoryReset(in PendingIntent callbackIntent); } } No newline at end of file