Merge "Clean up old references to android.support in Activity and Fragment" into rvc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
47029fe43d
@@ -220,8 +220,8 @@ import java.util.function.Consumer;
|
||||
* <a name="Fragments"></a>
|
||||
* <h3>Fragments</h3>
|
||||
*
|
||||
* <p>The {@link android.support.v4.app.FragmentActivity} subclass
|
||||
* can make use of the {@link android.support.v4.app.Fragment} class to better
|
||||
* <p>The {@link androidx.fragment.app.FragmentActivity} subclass
|
||||
* can make use of the {@link androidx.fragment.app.Fragment} class to better
|
||||
* modularize their code, build more sophisticated user interfaces for larger
|
||||
* screens, and help scale their application between small and large screens.</p>
|
||||
*
|
||||
@@ -1100,7 +1100,7 @@ public class Activity extends ContextThemeWrapper
|
||||
/**
|
||||
* Return the LoaderManager for this activity, creating it if needed.
|
||||
*
|
||||
* @deprecated Use {@link android.support.v4.app.FragmentActivity#getSupportLoaderManager()}
|
||||
* @deprecated Use {@link androidx.fragment.app.FragmentActivity#getSupportLoaderManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public LoaderManager getLoaderManager() {
|
||||
@@ -3159,7 +3159,7 @@ public class Activity extends ContextThemeWrapper
|
||||
* Return the FragmentManager for interacting with fragments associated
|
||||
* with this activity.
|
||||
*
|
||||
* @deprecated Use {@link android.support.v4.app.FragmentActivity#getSupportFragmentManager()}
|
||||
* @deprecated Use {@link androidx.fragment.app.FragmentActivity#getSupportFragmentManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public FragmentManager getFragmentManager() {
|
||||
@@ -3172,7 +3172,7 @@ public class Activity extends ContextThemeWrapper
|
||||
* method and before {@link Fragment#onCreate Fragment.onCreate()}.
|
||||
*
|
||||
* @deprecated Use {@link
|
||||
* android.support.v4.app.FragmentActivity#onAttachFragment(android.support.v4.app.Fragment)}
|
||||
* androidx.fragment.app.FragmentActivity#onAttachFragment(androidx.fragment.app.Fragment)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void onAttachFragment(Fragment fragment) {
|
||||
|
||||
@@ -102,7 +102,7 @@ import java.lang.reflect.InvocationTargetException;
|
||||
* While the Fragment API was introduced in
|
||||
* {@link android.os.Build.VERSION_CODES#HONEYCOMB}, a version of the API
|
||||
* at is also available for use on older platforms through
|
||||
* {@link android.support.v4.app.FragmentActivity}. See the blog post
|
||||
* {@link androidx.fragment.app.FragmentActivity}. See the blog post
|
||||
* <a href="http://android-developers.blogspot.com/2011/03/fragments-for-all.html">
|
||||
* Fragments For All</a> for more details.
|
||||
*
|
||||
@@ -258,8 +258,8 @@ import java.lang.reflect.InvocationTargetException;
|
||||
* pressing back will pop it to return the user to whatever previous state
|
||||
* the activity UI was in.
|
||||
*
|
||||
* @deprecated Use the <a href="{@docRoot}tools/extras/support-library.html">Support Library</a>
|
||||
* {@link android.support.v4.app.Fragment} for consistent behavior across all devices
|
||||
* @deprecated Use the <a href="{@docRoot}jetpack">Jetpack Fragment Library</a>
|
||||
* {@link androidx.fragment.app.Fragment} for consistent behavior across all devices
|
||||
* and access to <a href="{@docRoot}topic/libraries/architecture/lifecycle.html">Lifecycle</a>.
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -432,7 +432,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
|
||||
* through {@link FragmentManager#saveFragmentInstanceState(Fragment)
|
||||
* FragmentManager.saveFragmentInstanceState}.
|
||||
*
|
||||
* @deprecated Use {@link android.support.v4.app.Fragment.SavedState}
|
||||
* @deprecated Use {@link androidx.fragment.app.Fragment.SavedState}
|
||||
*/
|
||||
@Deprecated
|
||||
public static class SavedState implements Parcelable {
|
||||
@@ -479,7 +479,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
|
||||
* Thrown by {@link Fragment#instantiate(Context, String, Bundle)} when
|
||||
* there is an instantiation failure.
|
||||
*
|
||||
* @deprecated Use {@link android.support.v4.app.Fragment.InstantiationException}
|
||||
* @deprecated Use {@link androidx.fragment.app.Fragment.InstantiationException}
|
||||
*/
|
||||
@Deprecated
|
||||
static public class InstantiationException extends AndroidRuntimeException {
|
||||
@@ -1055,7 +1055,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
|
||||
/**
|
||||
* Return the LoaderManager for this fragment, creating it if needed.
|
||||
*
|
||||
* @deprecated Use {@link android.support.v4.app.Fragment#getLoaderManager()}
|
||||
* @deprecated Use {@link androidx.fragment.app.Fragment#getLoaderManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public LoaderManager getLoaderManager() {
|
||||
|
||||
Reference in New Issue
Block a user