Merge "Add explanation about the purpose of accessibility heading and use case apps should consider." am: 407d531735 am: afc1b7d01e am: 08ae6de00f

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2151635

Change-Id: Ifdbf4fa138e4a03580aea6a77b3c91c664d9b7c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Caren Chang
2022-07-19 23:04:22 +00:00
committed by Automerger Merge Worker

View File

@@ -13202,6 +13202,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
/**
* Set if view is a heading for a section of content for accessibility purposes.
* <p>
* Users of some accessibility services can choose to navigate between headings
* instead of between paragraphs, words, etc. Apps that provide headings on
* sections of text can help the text navigation experience.
*
* @param isHeading {@code true} if the view is a heading, {@code false} otherwise.
*