Allow recents animation controller to control input consumer lifecycle
- Removing race between the system cleaning up the input consumer and the controller who is also managing the input consumer lifecycle (it's preferable for the controller to keep the input consumer registered, and only to toggle the enabled state). Instead, we only ensure that we clean up if the runner is unexpected destroyed. - Also ensure that we don't add the input consumer on top of the runner's app window Bug: 117224991 Test: atest FrameworksServicesTests:RecentsAnimationTest Test: atest FrameworksServicesTests:com.android.server.wm.RecentsAnimationControllerTest Change-Id: I258f655417220b95112ba784e2ab2f30a9ee2a4a
Loading
Please register or sign in to comment