summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2015-01-16 20:06:53 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-16 20:06:53 +0000
commit23a6d889aa0cdcb244ccbe2b999a87e7ece7b7e5 (patch)
tree5db60d3ced0542b92be52f5cfe60bdb21288de7a /core
parentc952235d9f0539a1d76e82944b51e2f8a4fa6ef3 (diff)
parent1e59b338e6d1a270947908e53cefd088e2e38fb3 (diff)
downloadframeworks_base-23a6d889aa0cdcb244ccbe2b999a87e7ece7b7e5.zip
frameworks_base-23a6d889aa0cdcb244ccbe2b999a87e7ece7b7e5.tar.gz
frameworks_base-23a6d889aa0cdcb244ccbe2b999a87e7ece7b7e5.tar.bz2
am 1e59b338: am 08314642: am 90312d80: am 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
* commit '1e59b338e6d1a270947908e53cefd088e2e38fb3': docs: Added info on noHistory and onActivityResult(). Bug: 13807256
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/Activity.java4
-rw-r--r--core/java/android/content/Intent.java4
2 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index bf0104c..938a820 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -4785,6 +4785,10 @@ public class Activity extends ContextThemeWrapper
* <p>You will receive this call immediately before onResume() when your
* activity is re-starting.
*
+ * <p>This method is never invoked if your activity sets
+ * {@link android.R.styleable#AndroidManifestActivity_noHistory noHistory} to
+ * <code>true</code>.
+ *
* @param requestCode The integer request code originally supplied to
* startActivityForResult(), allowing you to identify who this
* result came from.
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index af7ec5e..2fe727c 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -3610,6 +3610,10 @@ public class Intent implements Parcelable, Cloneable {
* the user navigates away from it, the activity is finished. This may also
* be set with the {@link android.R.styleable#AndroidManifestActivity_noHistory
* noHistory} attribute.
+ *
+ * <p>If set, {@link android.app.Activity#onActivityResult onActivityResult()}
+ * is never invoked when the current activity starts a new activity which
+ * sets a result and finishes.
*/
public static final int FLAG_ACTIVITY_NO_HISTORY = 0x40000000;
/**