ACTION_PACKAGE_RESTARTED constant

String const ACTION_PACKAGE_RESTARTED

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 not receive this broadcast. The data contains the name of the package.

  • {@link #EXTRA_UID} containing the integer uid assigned to the package.

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

Implementation

static const String ACTION_PACKAGE_RESTARTED =
    "android.intent.action.PACKAGE_RESTARTED";