From f53968061cff4bb897748efe7c09bd7a203e1d8f Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Fri, 26 Aug 2016 15:46:38 -0700 Subject: [PATCH] docs: Fixing links to moved Fragments guide, + redirect The Fragments API guide was moved, but apparently a redirect was never set up. Also, there are a few links to the old location in the Javadocs. Staged the revised Javadocs (see first comment for stage location). Not going to stage the redirects file since it would trash another, bigger CL that deals with the redirects file, but it's pretty straightforward. bug: 30559011 Change-Id: Ibd65f85c1ebb9789c1d40614fe11fe4ffda97e58 --- core/java/android/app/Fragment.java | 2 +- core/java/android/app/FragmentManager.java | 2 +- core/java/android/app/package.html | 2 +- docs/html/_redirects.yaml | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/Fragment.java b/core/java/android/app/Fragment.java index a637ef4f9c549..a9cd34cd2321d 100644 --- a/core/java/android/app/Fragment.java +++ b/core/java/android/app/Fragment.java @@ -194,7 +194,7 @@ final class FragmentState implements Parcelable { *
*

Developer Guides

*

For more information about using fragments, read the - * Fragments developer guide.

+ * Fragments developer guide.

*
* * diff --git a/core/java/android/app/FragmentManager.java b/core/java/android/app/FragmentManager.java index cd7665cf1163e..bfaf3328f6116 100644 --- a/core/java/android/app/FragmentManager.java +++ b/core/java/android/app/FragmentManager.java @@ -59,7 +59,7 @@ import java.util.List; *
*

Developer Guides

*

For more information about using fragments, read the - * Fragments developer guide.

+ * Fragments developer guide.

*
* * While the FragmentManager API was introduced in diff --git a/core/java/android/app/package.html b/core/java/android/app/package.html index f37f1dcc8401d..b259cadc2bceb 100644 --- a/core/java/android/app/package.html +++ b/core/java/android/app/package.html @@ -34,7 +34,7 @@ action bar.

For information about using some the classes in this package, see the following documents: Activities, Services, Fragments, Fragments, Using the Action Bar, Creating Dialogs, and Notifying the User.

diff --git a/docs/html/_redirects.yaml b/docs/html/_redirects.yaml index d75562d3bd44e..7e7c2de04b68e 100644 --- a/docs/html/_redirects.yaml +++ b/docs/html/_redirects.yaml @@ -1,6 +1,8 @@ # For information about this file's format, see # https://developers.google.com/internal/publishing/redirects redirects: +- from: /guide/topics/fundamentals/fragments.html + to: /guide/components/fragments.html - from: /about/versions/index.html to: /about/index.html - from: /about/versions/api-levels.html