Loading api/current.xml +2 −2 Original line number Diff line number Diff line Loading @@ -178749,7 +178749,7 @@ synchronized="false" static="false" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > <parameter name="parent" type="android.view.View"> Loading @@ -178764,7 +178764,7 @@ synchronized="false" static="false" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > <parameter name="p" type="android.view.View"> core/java/android/webkit/WebView.java +13 −19 Original line number Diff line number Diff line Loading @@ -3572,39 +3572,33 @@ public class WebView extends AbsoluteLayout return copiedSomething; } // Set this as a hierarchy change listener so we can know when this view // is removed and still have access to our parent. @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); ViewParent parent = getParent(); if (parent instanceof ViewGroup) { ViewGroup p = (ViewGroup) parent; p.setOnHierarchyChangeListener(this); } if (hasWindowFocus()) onWindowFocusChanged(true); } @Override protected void onDetachedFromWindow() { clearTextEntry(); super.onDetachedFromWindow(); ViewParent parent = getParent(); if (parent instanceof ViewGroup) { ViewGroup p = (ViewGroup) parent; p.setOnHierarchyChangeListener(null); } // Clean up the zoom controller mZoomButtonsController.setVisible(false); } // Implementation for OnHierarchyChangeListener /** * @deprecated WebView no longer needs to implement * ViewGroup.OnHierarchyChangeListener. This method does nothing now. */ @Deprecated public void onChildViewAdded(View parent, View child) {} public void onChildViewRemoved(View p, View child) { if (child == this) { clearTextEntry(); } } /** * @deprecated WebView no longer needs to implement * ViewGroup.OnHierarchyChangeListener. This method does nothing now. */ @Deprecated public void onChildViewRemoved(View p, View child) {} /** * @deprecated WebView should not have implemented Loading Loading
api/current.xml +2 −2 Original line number Diff line number Diff line Loading @@ -178749,7 +178749,7 @@ synchronized="false" static="false" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > <parameter name="parent" type="android.view.View"> Loading @@ -178764,7 +178764,7 @@ synchronized="false" static="false" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > <parameter name="p" type="android.view.View">
core/java/android/webkit/WebView.java +13 −19 Original line number Diff line number Diff line Loading @@ -3572,39 +3572,33 @@ public class WebView extends AbsoluteLayout return copiedSomething; } // Set this as a hierarchy change listener so we can know when this view // is removed and still have access to our parent. @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); ViewParent parent = getParent(); if (parent instanceof ViewGroup) { ViewGroup p = (ViewGroup) parent; p.setOnHierarchyChangeListener(this); } if (hasWindowFocus()) onWindowFocusChanged(true); } @Override protected void onDetachedFromWindow() { clearTextEntry(); super.onDetachedFromWindow(); ViewParent parent = getParent(); if (parent instanceof ViewGroup) { ViewGroup p = (ViewGroup) parent; p.setOnHierarchyChangeListener(null); } // Clean up the zoom controller mZoomButtonsController.setVisible(false); } // Implementation for OnHierarchyChangeListener /** * @deprecated WebView no longer needs to implement * ViewGroup.OnHierarchyChangeListener. This method does nothing now. */ @Deprecated public void onChildViewAdded(View parent, View child) {} public void onChildViewRemoved(View p, View child) { if (child == this) { clearTextEntry(); } } /** * @deprecated WebView no longer needs to implement * ViewGroup.OnHierarchyChangeListener. This method does nothing now. */ @Deprecated public void onChildViewRemoved(View p, View child) {} /** * @deprecated WebView should not have implemented Loading