Intent.ActionPackageUnstopped Field

Definition

Broadcast Action: An application package that was previously in the stopped state has been started and is no longer considered stopped.

[Android.Runtime.Register("ACTION_PACKAGE_UNSTOPPED", ApiSince=35)]
public const string ActionPackageUnstopped;
[<Android.Runtime.Register("ACTION_PACKAGE_UNSTOPPED", ApiSince=35)>]
val mutable ActionPackageUnstopped : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: An application package that was previously in the stopped state has been started and is no longer considered stopped.

When a package is force-stopped, the #ACTION_PACKAGE_RESTARTED broadcast is sent and the package in the stopped state cannot self-start for any reason unless there's an explicit request to start a component in the package. The #ACTION_PACKAGE_UNSTOPPED broadcast is sent when such an explicit process start occurs and the package is taken out of the stopped state. The data contains the name of the package.

<ul> <li> #EXTRA_UID containing the integer uid assigned to the package. <li> #EXTRA_TIME containing the SystemClock#elapsedRealtime() elapsed realtime of when the package was unstopped. </ul>

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

Java documentation for android.content.Intent.ACTION_PACKAGE_UNSTOPPED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to