ACTION_VIEW_PERMISSION_USAGE constant

String const ACTION_VIEW_PERMISSION_USAGE

Activity action: Launch UI to show information about the usage of a given permission. This action would be handled by apps that want to show details about how and why given permission is being used.

Important:You must protect the activity that handles this action with the {@link android.Manifest.permission#START_VIEW_PERMISSION_USAGE START_VIEW_PERMISSION_USAGE} permission to ensure that only the system can launch this activity. The system will not launch activities that are not properly protected.

Input: {@code android.intent.extra.PERMISSION_NAME} specifies the permission for which the launched UI would be targeted.

Output: Nothing.

Implementation

static const String ACTION_VIEW_PERMISSION_USAGE =
    "android.intent.action.VIEW_PERMISSION_USAGE";