diff options
| author | 2024-04-22 14:32:36 -0400 | |
|---|---|---|
| committer | 2024-04-22 14:32:36 -0400 | |
| commit | f9a90d86a13e70b485bd5f64d707fdd6b581415b (patch) | |
| tree | b1ef5dbc6207c672187b218f6a95f7fb8533db14 /libs/androidfw/StringPool.cpp | |
| parent | 9adec260cfe2313686f116bf5185b9a132dda000 (diff) | |
Refactor logic to allow touches to use SceneTransitionLayout APIs
MutableSceneTransitionLayoutState already offers a way to pass in a
function which gets called when a gesture is detected, to determine
whether the gesture is allowed to change scenes or not. This change
migrates the existing mechanism which disallows touches to this built-in
API instead.
This has the benefit of not needing to recompose the container when the
shade is expanded/collapsed.
In the future, we can also check falsing signal inside this same
callback.
Bug: 336330508
Test: atest CommunalViewModelTest
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: I558f03b5e26d5d520bfd07f690278a049e56fd2c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions