summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Davidson <jpd@google.com> 2014-09-10 17:46:20 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-09-10 17:46:21 +0000
commit6cb95276c3ead697f18e3d211c8d5b5ffacf379f (patch)
tree2f0417ff2965f02a03f0ef6dd05571cb7ef20308
parentf35423bb4e74f6cdc5e4cfc5302e659457e30f5d (diff)
parent2a129789adbfa64098cba50a27f88d9602d022ab (diff)
Merge "Update unclear Fragment Javadoc." into lmp-dev
-rw-r--r--core/java/android/app/Fragment.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/app/Fragment.java b/core/java/android/app/Fragment.java
index 672ef7b20ee4..4374622a9de7 100644
--- a/core/java/android/app/Fragment.java
+++ b/core/java/android/app/Fragment.java
@@ -166,11 +166,12 @@ final class FragmentState implements Parcelable {
* activity: if the activity is stopped, no fragments inside of it can be
* started; when the activity is destroyed, all fragments will be destroyed.
*
- * <p>All subclasses of Fragment must include a public empty constructor.
+ * <p>All subclasses of Fragment must include a public no-argument constructor.
* The framework will often re-instantiate a fragment class when needed,
* in particular during state restore, and needs to be able to find this
- * constructor to instantiate it. If the empty constructor is not available,
- * a runtime exception will occur in some cases during state restore.
+ * constructor to instantiate it. If the no-argument constructor is not
+ * available, a runtime exception will occur in some cases during state
+ * restore.
*
* <p>Topics covered here:
* <ol>