summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-12-22 17:40:12 +0000
committer Matt Pietal <mpietal@google.com> 2023-01-30 15:44:26 +0000
commit96cdb8a2628156363403826e06fc8d43fa127fef (patch)
treec6cc5f95afaf0bb653eaae54e4ade1674c522550 /libs/androidfw/AttributeResolution.cpp
parentd2fe4b9e81d813a15be1e19fcadb87d3663be3f8 (diff)
[DO NOT MERGE] Bouncer - Intercept touch events when not visible
There is a moment, when swiping on the lockscreen, that the bouncer showing state is set to true but it isn't quite visible. In this state, it is possible to interact with it. Only allow interaction if the bouncer is at least 90% visible. Also, refactor bouncer repository to an interface and add a FakeKeyguardBouncerRepository so it can be tested with coroutines. Test: atest PrimaryBouncerInteractorTest PrimaryBouncerInteractorWithCoroutinesTest Fixes: 260820843 Change-Id: I78cdf14521cc8cd02b6f2ab06e7ca518c92718c0
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions