Skip to content

Commit c69be70

Browse files
author
Jonathan Dixon
committed
Hide WebView.getZoomControls()
This was deprecated and the replacement provided in API level 3. Hiding it in API 16 as a step toward removing support for it in 17. Bug: 5012841 Change-Id: Ice66a0fc1031c0d6705973dae7cbc11b028e14c9
1 parent ee80082 commit c69be70

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

api/16.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25204,7 +25204,6 @@ package android.webkit {
2520425204
method public java.lang.String getTitle();
2520525205
method public java.lang.String getUrl();
2520625206
method public deprecated int getVisibleTitleHeight();
25207-
method public deprecated android.view.View getZoomControls();
2520825207
method public void goBack();
2520925208
method public void goBackOrForward(int);
2521025209
method public void goForward();

api/current.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25709,7 +25709,6 @@ package android.webkit {
2570925709
method public java.lang.String getTitle();
2571025710
method public java.lang.String getUrl();
2571125711
method public deprecated int getVisibleTitleHeight();
25712-
method public deprecated android.view.View getZoomControls();
2571325712
method public void goBack();
2571425713
method public void goBackOrForward(int);
2571525714
method public void goForward();

core/java/android/webkit/WebView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,7 @@ public void flingScroll(int vx, int vy) {
15311531
*
15321532
* @deprecated The built-in zoom mechanism is preferred, see
15331533
* {@link WebSettings#setBuiltInZoomControls(boolean)}.
1534+
* @hide since API version 16.
15341535
*/
15351536
@Deprecated
15361537
public View getZoomControls() {

0 commit comments

Comments
 (0)