Intent.ActionPackageRestarted Field

Definition

Broadcast Action: The user has restarted a package, and all of its processes have been killed.

[Android.Runtime.Register("ACTION_PACKAGE_RESTARTED")]
public const string ActionPackageRestarted;
[<Android.Runtime.Register("ACTION_PACKAGE_RESTARTED")>]
val mutable ActionPackageRestarted : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: The user has restarted a package, and all of its processes have been killed. All runtime state associated with it (processes, alarms, notifications, etc) should be removed. Note that the restarted package does <em>not</em> receive this broadcast. The data contains the name of the package. <ul> <li> #EXTRA_UID containing the integer uid assigned to the package. </ul>

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

Starting in Android V, an extra timestamp #EXTRA_TIME is included with this broadcast to indicate the exact time the package was restarted, in SystemClock#elapsedRealtime() elapsed realtime.

Java documentation for android.content.Intent.ACTION_PACKAGE_RESTARTED.

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