OSDN Git Service

DisplayCutout: Fix attrs.xml javadoc
authorAdrian Roos <roosa@google.com>
Tue, 27 Mar 2018 14:36:25 +0000 (16:36 +0200)
committerAdrian Roos <roosa@google.com>
Tue, 27 Mar 2018 15:44:19 +0000 (17:44 +0200)
commit87526af33c9d49f7761c0b5bb1365584b67231ee
tree069da0c769a5a5be857fbc62b9a92504a28d92a8
parentc6d9f7ce1d6d152c55431e9ea95302a954bc49b9
DisplayCutout: Fix attrs.xml javadoc

Fixes an issue with the javadoc for windowLayoutInDisplayCutoutMode.
Removes @tags from enum javadocs, because they get merged into a table,
which does not support inner @tags. Instead, use <code> tags which work
in that context.

Also replaces @see tags with {@link} tags in the attr javadoc, because
the enum value table gets appended, but it is invalid to have text after
an @see tag.

Change-Id: Ib97e9aa82e173d99a467132a0d403793d7297e61
Fixes: 76448223
Test: make doc-comment-check-docs, verify output at $ANDROID_BUILD_TOP/out/target/common/docs/doc-comment-check/reference/android/R.attr.html#windowLayoutInDisplayCutoutMode
core/java/android/view/WindowManager.java
core/res/res/values/attrs.xml