Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57558eca authored by arthurhung's avatar arthurhung
Browse files

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
parent ff962aaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment