diff options
| author | 2024-07-26 23:57:27 +0000 | |
|---|---|---|
| committer | 2024-08-16 23:34:56 +0000 | |
| commit | 0dc98b3218079f62292ff71bbfc6cdc0505f9ec6 (patch) | |
| tree | bbf75b87ba6709d87a3be6cb56ecb508624a2014 /libs/androidfw/ObbFile.cpp | |
| parent | d9a8f4c53d29766cc3758069d6732e4f6d3e391a (diff) | |
Revert "Revert "Add API for multiple labels in AccesibilityNodeI..."
Revert submission 28486689-revert-27775536-labeledby-SGHWNVGTWT
Reason for revert: fix flag check in AccessibilityNodeInfo parceling
Reverted changes: /q/submissionid:28486689-revert-27775536-labeledby-SGHWNVGTWT
Changes from original CL: the original CL causes hsv to break because
the flag is called in AccesibilityNodeInfo#initFromParcel() when flag
structure is not setup yet. This CL removes the flag check in
AccessibilityNodeInfo writeToParcelNoRecycle, init, initFromParcel. When
the flag is not enabled, the labeledby array is always the same as
default, so corresponding nonDefaultFields bit will not be set, and
parceling and unparceling can still be done correctly.
Flag: android.view.accessibility.support_multiple_labeledby
Test: added cts test, also performed hsv to make sure it is successful.
Change-Id: I53d46b41638982ab95449af0cb680a295b938386
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions