ACTION_REQUEST_SHUTDOWN constant

String const ACTION_REQUEST_SHUTDOWN

Activity Action: Start this activity to request system shutdown. The optional boolean extra field {@link #EXTRA_KEY_CONFIRM} can be set to true to request confirmation from the user before shutting down. The optional boolean extra field {@link #EXTRA_USER_REQUESTED_SHUTDOWN} can be set to true to indicate that the shutdown is requested by the user.

This is a protected intent that can only be sent by the system.

{@hide}

Implementation

static const String ACTION_REQUEST_SHUTDOWN =
    "com.android.internal.intent.action.REQUEST_SHUTDOWN";