Compartilhar via


Intent.ActionPackageChanged Field

Definition

Broadcast Action: An existing application package has been changed (for example, a component has been enabled or disabled).

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: An existing application package has been changed (for example, a component has been enabled or disabled). The data contains the name of the package. <ul> <li> #EXTRA_UID containing the integer uid assigned to the package. <li> #EXTRA_CHANGED_COMPONENT_NAME_LIST containing the class name of the changed components (or the package name itself). <li> #EXTRA_DONT_KILL_APP containing boolean field to override the default action of restarting the application. </ul>

<p class="note">This is a protected intent that can only be sent by the system.

Java documentation for android.content.Intent.ACTION_PACKAGE_CHANGED.

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