diff options
author | Andrii Kulian <akulian@google.com> | 2016-07-26 18:42:46 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2016-07-26 18:42:46 -0700 |
commit | a6aea9876e81523316d7d4513f59c08555db74a6 (patch) | |
tree | 220d9311f5f33db10a3aea5f29d5d6e6e6988180 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7c731f9e1f01550536c0bbd97cf696dec2cdcc95 (diff) |
Don't delay child pressed state in freeform mode
DecorCaptionView is used in app view hierarchy in freeform mode
and it inherits default ViewGroup#shouldDelayChildPressedState
implementation, which returns true by default for compatibility
reasons.
This results in touch not delivered to child views in some cases
until there is movement or up action. E.g. touch on SeekBar will
not change the position of control instantly in freeform, while
it does in other modes.
This CL disables delaying child pressed state for DecorCaptionView.
Bug: 30037893
Change-Id: I4917143610b6c0d404d2395670de9525c10f2a6c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions