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

Commit cc879eed authored by Aurimas Liutikas's avatar Aurimas Liutikas
Browse files

Add nullability to ScrollView#scrollToDescendant.

Bug: 126180253
Test: make update-api
Change-Id: I7ee92ad8fb6ab2b0519ad2a21b8850fa130b6531
parent 436a76d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56778,7 +56778,7 @@ package android.widget {
    method public boolean isFillViewport();
    method public boolean isSmoothScrollingEnabled();
    method public boolean pageScroll(int);
    method public void scrollToDescendant(android.view.View);
    method public void scrollToDescendant(@NonNull android.view.View);
    method public void setBottomEdgeEffectColor(@ColorInt int);
    method public void setEdgeEffectColor(@ColorInt int);
    method public void setFillViewport(boolean);
+1 −1
Original line number Diff line number Diff line
@@ -1474,7 +1474,7 @@ public class ScrollView extends FrameLayout {
     *
     * @param child the View to scroll to
     */
    public void scrollToDescendant(View child) {
    public void scrollToDescendant(@NonNull View child) {
        if (!mIsLayoutDirty) {
            child.getDrawingRect(mTempRect);