Merge "Hide FragmentContainer#instantiate for API 26" into oc-dev

am: ba9b2ce254

Change-Id: I787a726517687d1cec60a0f96d3abef3229a5dcc
This commit is contained in:
Adam Powell
2017-05-01 23:37:00 +00:00
committed by android-build-merger
4 changed files with 2 additions and 3 deletions

View File

@@ -4695,7 +4695,6 @@ package android.app {
public abstract class FragmentContainer {
ctor public FragmentContainer();
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
method public abstract <T extends android.view.View> T onFindViewById(int);
method public abstract boolean onHasView();
}

View File

@@ -4865,7 +4865,6 @@ package android.app {
public abstract class FragmentContainer {
ctor public FragmentContainer();
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
method public abstract <T extends android.view.View> T onFindViewById(int);
method public abstract boolean onHasView();
}

View File

@@ -4708,7 +4708,6 @@ package android.app {
public abstract class FragmentContainer {
ctor public FragmentContainer();
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
method public abstract <T extends android.view.View> T onFindViewById(int);
method public abstract boolean onHasView();
}

View File

@@ -42,6 +42,8 @@ public abstract class FragmentContainer {
* Creates an instance of the specified fragment, can be overridden to construct fragments
* with dependencies, or change the fragment being constructed. By default just calls
* {@link Fragment#instantiate(Context, String, Bundle)}.
*
* @hide
*/
public Fragment instantiate(Context context, String className, Bundle arguments) {
return Fragment.instantiate(context, className, arguments);