diff options
author | Jeff Davidson <jpd@google.com> | 2014-09-10 17:54:08 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-10 17:54:08 +0000 |
commit | 0f9e87b65d79a031a2c91e712deef634f4ecc0bf (patch) | |
tree | 533561d9f82d14d68ca1718da114b8b5c947bc71 /core/java/android/app/Fragment.java | |
parent | d16dc0a1d32bc7228a49bc38c020ec4961c0db69 (diff) | |
parent | 6cb95276c3ead697f18e3d211c8d5b5ffacf379f (diff) | |
download | frameworks_base-0f9e87b65d79a031a2c91e712deef634f4ecc0bf.zip frameworks_base-0f9e87b65d79a031a2c91e712deef634f4ecc0bf.tar.gz frameworks_base-0f9e87b65d79a031a2c91e712deef634f4ecc0bf.tar.bz2 |
am cfd0e5c1: Merge "Update unclear Fragment Javadoc." into lmp-dev
* commit 'cfd0e5c15a752fec962bee3b82b10cf95bb90315':
Update unclear Fragment Javadoc.
Diffstat (limited to 'core/java/android/app/Fragment.java')
-rw-r--r-- | core/java/android/app/Fragment.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/app/Fragment.java b/core/java/android/app/Fragment.java index 672ef7b..4374622 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> |