OSDN Git Service

[QS] Disallow TYPE_VIEW_SELECTED events
authorRohan Shah <shahrk@google.com>
Fri, 25 May 2018 17:51:22 +0000 (10:51 -0700)
committerRohan Shah <shahrk@google.com>
Fri, 25 May 2018 18:06:33 +0000 (11:06 -0700)
commit2dbcb5705cfea913195e0e7094b31d87143e5b01
treec52516cad43916382a5e40ac1efbd6943ab79820
parent56cc567dfd5688c8311b6b82402706a0c68c5b78
[QS] Disallow TYPE_VIEW_SELECTED events

QS is announcing all of its items due to setSelected being called on the
TilePage.

Fixed by disable a11y on the page until setSelected is done. This will
cover all fringe cases of setSelected being passed along down the
hierarchy and additional a11y events being sent on child views.

Test: Manually verified that labels aren't announced
Change-Id: I76757b1fb797ba646e8e57ef389f78593aad0f18
Fixes: 80003207
packages/SystemUI/src/com/android/systemui/qs/PagedTileLayout.java