diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-14 03:26:16 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-14 03:26:16 -0700 |
commit | ec2d74d40f9b7a8bf96feeb45a5d054d8b0ce0dd (patch) | |
tree | 8e4709127e974db69830eb0150a6743345cd2e2e /core | |
parent | b91081113692acc87ae67f235956ae1cecab68cc (diff) | |
parent | 86b6c530f96360cd13f0011af99d927a6e1f80fe (diff) | |
download | frameworks_base-ec2d74d40f9b7a8bf96feeb45a5d054d8b0ce0dd.zip frameworks_base-ec2d74d40f9b7a8bf96feeb45a5d054d8b0ce0dd.tar.gz frameworks_base-ec2d74d40f9b7a8bf96feeb45a5d054d8b0ce0dd.tar.bz2 |
Merge change 1545 into donut
* changes:
Add Intent.ACTION_APP_ERROR
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/content/Intent.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 81f72ac..24262f5 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1048,6 +1048,17 @@ public class Intent implements Parcelable { @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_SEARCH_LONG_PRESS = "android.intent.action.SEARCH_LONG_PRESS"; + /** + * Activity Action: The user pressed the "Report" button in the crash/ANR dialog. + * This intent is delivered to the package which installed the application, usually + * the Market. + * <p>Input: No data is specified. The bug report is passed in using + * an {@link #EXTRA_BUG_REPORT} field. + * <p>Output: Nothing. + * @hide + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_APP_ERROR = "android.intent.action.APP_ERROR"; // --------------------------------------------------------------------- // --------------------------------------------------------------------- // Standard intent broadcast actions (see action variable). @@ -1780,6 +1791,24 @@ public class Intent implements Parcelable { * delivered. */ public static final String EXTRA_ALARM_COUNT = "android.intent.extra.ALARM_COUNT"; + + /** + * Used as a parcelable extra field in {@link #ACTION_APP_ERROR}, containing + * the bug report. + * + * @hide + */ + public static final String EXTRA_BUG_REPORT = "android.intent.extra.BUG_REPORT"; + + /** + * Used as a string extra field when sending an intent to PackageInstaller to install a + * package. Specifies the installer package name; this package will receive the + * {@link #ACTION_APP_ERROR} intent. + * + * @hide + */ + public static final String EXTRA_INSTALLER_PACKAGE_NAME + = "android.intent.extra.INSTALLER_PACKAGE_NAME"; // --------------------------------------------------------------------- // --------------------------------------------------------------------- |