Document permissions for euicc privileged actions.
Bug: 128317064 Test: Test on phone Change-Id: I285597e48e97f1b4ffe4b4eb4ac68010905f4e1f
This commit is contained in:
@@ -113,15 +113,27 @@ public abstract class EuiccService extends Service {
|
|||||||
public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION =
|
public static final String ACTION_PROVISION_EMBEDDED_SUBSCRIPTION =
|
||||||
"android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
|
"android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION";
|
||||||
|
|
||||||
/** @see android.telephony.euicc.EuiccManager#ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED */
|
/**
|
||||||
|
* @see android.telephony.euicc.EuiccManager#ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED. This is
|
||||||
|
* a protected intent that can only be sent by the system, and requires the
|
||||||
|
* {@link android.Manifest.permission#BIND_EUICC_SERVICE} permission.
|
||||||
|
*/
|
||||||
public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED =
|
public static final String ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED =
|
||||||
"android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
|
"android.service.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED";
|
||||||
|
|
||||||
/** @see android.telephony.euicc.EuiccManager#ACTION_DELETE_SUBSCRIPTION_PRIVILEGED */
|
/**
|
||||||
|
* @see android.telephony.euicc.EuiccManager#ACTION_DELETE_SUBSCRIPTION_PRIVILEGED. This is
|
||||||
|
* a protected intent that can only be sent by the system, and requires the
|
||||||
|
* {@link android.Manifest.permission#BIND_EUICC_SERVICE} permission.
|
||||||
|
*/
|
||||||
public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED =
|
public static final String ACTION_DELETE_SUBSCRIPTION_PRIVILEGED =
|
||||||
"android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
|
"android.service.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED";
|
||||||
|
|
||||||
/** @see android.telephony.euicc.EuiccManager#ACTION_RENAME_SUBSCRIPTION_PRIVILEGED */
|
/**
|
||||||
|
* @see android.telephony.euicc.EuiccManager#ACTION_RENAME_SUBSCRIPTION_PRIVILEGED. This is
|
||||||
|
* a protected intent that can only be sent by the system, and requires the
|
||||||
|
* {@link android.Manifest.permission#BIND_EUICC_SERVICE} permission.
|
||||||
|
*/
|
||||||
public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED =
|
public static final String ACTION_RENAME_SUBSCRIPTION_PRIVILEGED =
|
||||||
"android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
|
"android.service.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED";
|
||||||
|
|
||||||
|
|||||||
@@ -120,6 +120,10 @@ public class EuiccManager {
|
|||||||
* enable or disable a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID} and
|
* enable or disable a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID} and
|
||||||
* {@link #EXTRA_ENABLE_SUBSCRIPTION}.
|
* {@link #EXTRA_ENABLE_SUBSCRIPTION}.
|
||||||
*
|
*
|
||||||
|
* Requires the caller to be a privileged process with the
|
||||||
|
* {@link android.permission#CALL_PRIVILEGED} permission for the intent to reach the Telephony
|
||||||
|
* stack.
|
||||||
|
*
|
||||||
* <p>Unlike {@link #switchToSubscription(int, PendingIntent)}, using this action allows the
|
* <p>Unlike {@link #switchToSubscription(int, PendingIntent)}, using this action allows the
|
||||||
* underlying eUICC service (i.e. the LPA app) to control the UI experience during this
|
* underlying eUICC service (i.e. the LPA app) to control the UI experience during this
|
||||||
* operation. The action is received by the Telephony framework, which in turn selects and
|
* operation. The action is received by the Telephony framework, which in turn selects and
|
||||||
@@ -139,6 +143,10 @@ public class EuiccManager {
|
|||||||
* Intent action sent by system apps (such as the Settings app) to the Telephony framework to
|
* Intent action sent by system apps (such as the Settings app) to the Telephony framework to
|
||||||
* delete a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID}.
|
* delete a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID}.
|
||||||
*
|
*
|
||||||
|
* Requires the caller to be a privileged process with the
|
||||||
|
* {@link android.permission#CALL_PRIVILEGED} permission for the intent to reach the Telephony
|
||||||
|
* stack.
|
||||||
|
*
|
||||||
* <p>Unlike {@link #deleteSubscription(int, PendingIntent)}, using this action allows the
|
* <p>Unlike {@link #deleteSubscription(int, PendingIntent)}, using this action allows the
|
||||||
* underlying eUICC service (i.e. the LPA app) to control the UI experience during this
|
* underlying eUICC service (i.e. the LPA app) to control the UI experience during this
|
||||||
* operation. The action is received by the Telephony framework, which in turn selects and
|
* operation. The action is received by the Telephony framework, which in turn selects and
|
||||||
@@ -159,6 +167,10 @@ public class EuiccManager {
|
|||||||
* rename a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID} and
|
* rename a subscription. Must be accompanied with {@link #EXTRA_SUBSCRIPTION_ID} and
|
||||||
* {@link #EXTRA_SUBSCRIPTION_NICKNAME}.
|
* {@link #EXTRA_SUBSCRIPTION_NICKNAME}.
|
||||||
*
|
*
|
||||||
|
* Requires the caller to be a privileged process with the
|
||||||
|
* {@link android.permission#CALL_PRIVILEGED} permission for the intent to reach the Telephony
|
||||||
|
* stack.
|
||||||
|
*
|
||||||
* <p>Unlike {@link #updateSubscriptionNickname(int, String, PendingIntent)}, using this action
|
* <p>Unlike {@link #updateSubscriptionNickname(int, String, PendingIntent)}, using this action
|
||||||
* allows the the underlying eUICC service (i.e. the LPA app) to control the UI experience
|
* allows the the underlying eUICC service (i.e. the LPA app) to control the UI experience
|
||||||
* during this operation. The action is received by the Telephony framework, which in turn
|
* during this operation. The action is received by the Telephony framework, which in turn
|
||||||
|
|||||||
Reference in New Issue
Block a user