diff options
| author | 2024-04-29 16:44:39 +0200 | |
|---|---|---|
| committer | 2024-05-06 14:29:13 +0200 | |
| commit | 73791a8bbc965219b3dc1de1fed0d301d93451f3 (patch) | |
| tree | feaef828d9754550946e854cd7156fd283506d5c /libs/androidfw/ObbFile.cpp | |
| parent | 9e47735d0f6478081879e6d10e71203f2510458c (diff) | |
Introduce InterruptionHandler to STL
This CL introduces a new InterruptionHandler interface that allows to
specify what to do when a transition is interrupted and that we should
now animate to a new target scene.
When such an interuptions occurs, the caller can now specify 2
parameters of interruption:
- animateFrom: the scene from which we animate to the new target scene.
It must be either the fromScene or toScene of the interrupted
transition.
- chain: a boolean indicating whether the new transition is added to
the list of current transitions (the default) or if all current
transitions should be removed and that the new transition is the only
remaining one in the list of ongoing transitions.
Bug: 290930950
Flag: N/A
Test: InterruptionHandlerTest
Change-Id: Ifebe37e5a35e304792aa602eb06212af3e6f1441
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions