Fix gesture input monitor dispose
The gesture input monitor is to detect system gesture when user swipe on the navigation bar or the edge, that should be unregistered after the process (ex. launcher) is killed. This could solve two problems: 1. InputChannel.dispose function didn't clear the native InputChannel reference until the 'finalize' function called, clear it in dispose. 2. We use a Bundle object to communicate systemui and launcher, but the PARCELABLE_WRITE_RETURN_VALUE flag can't be applied when write the parcelable value, change InputMonitorCompat to implement Parceable and apply flag when return via binder call. Bug: 142581626 Test: kill launcher process, dumpsys input Change-Id: Iaff774e96c58f00a26b7bedb809a0fb951862786
Loading
Please register or sign in to comment