GestureNav: make reportSystemGestureExclusionChanged oneway

When the WindowManager lock is contended, reportSystemGestureExclusionChanged can cause
jank. Making it oneway avoids this.

Fixes: 137650591
Test: make droid
Change-Id: I5d96b7e2225745b146014ad11cafaf0ad9a1b734
This commit is contained in:
Adrian Roos
2019-07-16 18:35:15 +02:00
committed by Winson Chung
parent eafd4dae94
commit 2dccd145d3

View File

@@ -308,7 +308,7 @@ interface IWindowSession {
/** /**
* Called when the system gesture exclusion has changed. * Called when the system gesture exclusion has changed.
*/ */
void reportSystemGestureExclusionChanged(IWindow window, in List<Rect> exclusionRects); oneway void reportSystemGestureExclusionChanged(IWindow window, in List<Rect> exclusionRects);
/** /**
* Request the server to call setInputWindowInfo on a given Surface, and return * Request the server to call setInputWindowInfo on a given Surface, and return