Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f05458cf authored by Adam Powell's avatar Adam Powell
Browse files

Hide FragmentContainer#instantiate for API 26

Bug 37638617

Change-Id: I065cd31d6ce987155669f72eff0e0d6d8a9430ab

Test: none; hiding API only
parent a5e8bfe9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4698,7 +4698,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();
  }
+0 −1
Original line number Diff line number Diff line
@@ -4868,7 +4868,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();
  }
+0 −1
Original line number Diff line number Diff line
@@ -4711,7 +4711,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();
  }
+2 −0
Original line number Diff line number Diff line
@@ -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);