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

Commit 0b1023a2 authored by Tima Vaisburd's avatar Tima Vaisburd Committed by android-build-merger
Browse files

Merge "Added onMovedToDisplay method to WebView" into oc-dev

am: be41b612

Change-Id: Ib119a90509998347b6ad26862ddfdb2d5299fb42
parents e2aec431 be41b612
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52946,6 +52946,7 @@ package android.webkit {
    method public abstract boolean onKeyMultiple(int, int, android.view.KeyEvent);
    method public abstract boolean onKeyUp(int, android.view.KeyEvent);
    method public abstract void onMeasure(int, int);
    method public default void onMovedToDisplay(int, android.content.res.Configuration);
    method public abstract void onOverScrolled(int, int, boolean, boolean);
    method public default void onProvideAutofillVirtualStructure(android.view.ViewStructure, int);
    method public abstract void onProvideVirtualStructure(android.view.ViewStructure);
+5 −0
Original line number Diff line number Diff line
@@ -2506,6 +2506,11 @@ public class WebView extends AbsoluteLayout
        super.onDetachedFromWindowInternal();
    }

    @Override
    public void onMovedToDisplay(int displayId, Configuration config) {
        mProvider.getViewDelegate().onMovedToDisplay(displayId, config);
    }

    @Override
    public void setLayoutParams(ViewGroup.LayoutParams params) {
        mProvider.getViewDelegate().setLayoutParams(params);
+2 −0
Original line number Diff line number Diff line
@@ -378,6 +378,8 @@ public interface WebViewProvider {

        public void onDetachedFromWindow();

        public default void onMovedToDisplay(int displayId, Configuration config) {}

        public void onVisibilityChanged(View changedView, int visibility);

        public void onWindowFocusChanged(boolean hasWindowFocus);