ACTION_USER_FOREGROUND constant

String const ACTION_USER_FOREGROUND

Sent when a user switch is happening, causing the process's user to be brought to the foreground. This is only sent to receivers registered through {@link Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver}. It is sent to the user that is going to the foreground. This is sent as a foreground broadcast, since it is part of a visible user interaction; be as quick as possible when handling it.

Implementation

static const String ACTION_USER_FOREGROUND =
    "android.intent.action.USER_FOREGROUND";