commit | 5ad010b423b1fbf5bf88bcb94503d4e7ac1cf0dd | [log] [tgz] |
---|---|---|
author | Jordan Demeulenaere <jdemeulenaere@google.com> | Fri Jul 05 17:08:35 2024 +0200 |
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Thu Jul 11 08:37:26 2024 +0000 |
tree | aa8329e00bedb738b5b208971cd264e1c6bc9b3f | |
parent | 15fe59f3cf4afc6f30dc1366b4d8d77515dcf273 [diff] |
Interrupted predictive back does not call canChangeScene This CL ensures that STLState.canChangeScene() is only called right before the actual STLState.transitionState.currentScene is going to be changed. In particular, it should not be called if the predictive back transition is interrupted by another transition. Bug: 350705972 Test: PredictiveBackHandlerTest Flag: com.android.systemui.scene_container Change-Id: I79fd72609d78982b17caa5303154d4e40e3d7ae4