From db2bb3e12af57baa008e128cc38765e369727083 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 23 Jan 2020 18:35:15 -0800 Subject: [PATCH] Fix docs error Fixes: out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/srcjars/android/view/View.java:12544: lint: Unresolved link/see tag "android.view.Window#setOnContentApplyWindowInsets Window#setOnContentApplyWindowInsets" in android.view.View [101] out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/srcjars/android/view/View.java:12564: lint: Unresolved link/see tag "android.view.Window#setOnContentApplyWindowInsets Window#setOnContentApplyWindowInsets" in android.view.View [101] Test: out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/doc-comment-check-docs-docs.zip Change-Id: Ifdae4bad3f8a30d70a8894de8f7b011ba961adae --- core/java/android/view/View.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 0f2d2c21d28dc..c5f4faf2f462d 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -3659,8 +3659,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @deprecated For floating windows, use {@link LayoutParams#setFitInsetsTypes(int)} with * {@link Type#navigationBars()}. For non-floating windows that fill the screen, call - * {@link Window#setOnContentApplyWindowInsets} with {@code null} or a listener that doesn't - * fit the navigation bar on the window content level. + * {@link Window#setOnContentApplyWindowInsetsListener} with {@code null} or a listener that + * doesn't fit the navigation bar on the window content level. */ public static final int SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION = 0x00000200; @@ -3688,8 +3688,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @deprecated For floating windows, use {@link LayoutParams#setFitInsetsTypes(int)} with * {@link Type#statusBars()} ()}. For non-floating windows that fill the screen, call - * {@link Window#setOnContentApplyWindowInsets} with {@code null} or a listener that doesn't - * fit the status bar on the window content level. + * {@link Window#setOnContentApplyWindowInsetsListener} with {@code null} or a listener that + * doesn't fit the status bar on the window content level. */ @Deprecated public static final int SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN = 0x00000400;