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

Commit b7f0db8d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update more implementations of findViewById()" into oc-dev

parents 8ee12087 04fd470c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4700,7 +4700,7 @@ 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 android.view.View onFindViewById(int);
    method public abstract <T extends android.view.View> T onFindViewById(int);
    method public abstract boolean onHasView();
  }
@@ -4751,7 +4751,7 @@ package android.app {
    ctor public FragmentHostCallback(android.content.Context, android.os.Handler, int);
    method public void onAttachFragment(android.app.Fragment);
    method public void onDump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
    method public android.view.View onFindViewById(int);
    method public <T extends android.view.View> T onFindViewById(int);
    method public abstract E onGetHost();
    method public android.view.LayoutInflater onGetLayoutInflater();
    method public int onGetWindowAnimations();
@@ -37210,7 +37210,7 @@ package android.service.dreams {
    method public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
    method public boolean dispatchTouchEvent(android.view.MotionEvent);
    method public boolean dispatchTrackballEvent(android.view.MotionEvent);
    method public android.view.View findViewById(int);
    method public <T extends android.view.View> T findViewById(int);
    method public final void finish();
    method public android.view.Window getWindow();
    method public android.view.WindowManager getWindowManager();
+3 −3
Original line number Diff line number Diff line
@@ -4865,7 +4865,7 @@ 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 android.view.View onFindViewById(int);
    method public abstract <T extends android.view.View> T onFindViewById(int);
    method public abstract boolean onHasView();
  }
@@ -4916,7 +4916,7 @@ package android.app {
    ctor public FragmentHostCallback(android.content.Context, android.os.Handler, int);
    method public void onAttachFragment(android.app.Fragment);
    method public void onDump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
    method public android.view.View onFindViewById(int);
    method public <T extends android.view.View> T onFindViewById(int);
    method public abstract E onGetHost();
    method public android.view.LayoutInflater onGetLayoutInflater();
    method public int onGetWindowAnimations();
@@ -40326,7 +40326,7 @@ package android.service.dreams {
    method public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
    method public boolean dispatchTouchEvent(android.view.MotionEvent);
    method public boolean dispatchTrackballEvent(android.view.MotionEvent);
    method public android.view.View findViewById(int);
    method public <T extends android.view.View> T findViewById(int);
    method public final void finish();
    method public android.view.Window getWindow();
    method public android.view.WindowManager getWindowManager();
+3 −3
Original line number Diff line number Diff line
@@ -4713,7 +4713,7 @@ 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 android.view.View onFindViewById(int);
    method public abstract <T extends android.view.View> T onFindViewById(int);
    method public abstract boolean onHasView();
  }
@@ -4764,7 +4764,7 @@ package android.app {
    ctor public FragmentHostCallback(android.content.Context, android.os.Handler, int);
    method public void onAttachFragment(android.app.Fragment);
    method public void onDump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
    method public android.view.View onFindViewById(int);
    method public <T extends android.view.View> T onFindViewById(int);
    method public abstract E onGetHost();
    method public android.view.LayoutInflater onGetLayoutInflater();
    method public int onGetWindowAnimations();
@@ -37363,7 +37363,7 @@ package android.service.dreams {
    method public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
    method public boolean dispatchTouchEvent(android.view.MotionEvent);
    method public boolean dispatchTrackballEvent(android.view.MotionEvent);
    method public android.view.View findViewById(int);
    method public <T extends android.view.View> T findViewById(int);
    method public final void finish();
    method public android.view.Window getWindow();
    method public android.view.WindowManager getWindowManager();
+1 −1
Original line number Diff line number Diff line
@@ -7526,7 +7526,7 @@ public class Activity extends ContextThemeWrapper

        @Nullable
        @Override
        public View onFindViewById(int id) {
        public <T extends View> T onFindViewById(int id) {
            return Activity.this.findViewById(id);
        }

+1 −1
Original line number Diff line number Diff line
@@ -2527,7 +2527,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
        mChildFragmentManager.attachController(mHost, new FragmentContainer() {
            @Override
            @Nullable
            public View onFindViewById(int id) {
            public <T extends View> T onFindViewById(int id) {
                if (mView == null) {
                    throw new IllegalStateException("Fragment does not have a view");
                }
Loading