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

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

Change-Id: Ife6f292b0350a51409ed45d075a379890ada7b8b
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:29:33 +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. * 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. * @param isHeading {@code true} if the view is a heading, {@code false} otherwise.
* *