From 2dccd145d30ba72d5fa5b1bf52157bef6299de57 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Tue, 16 Jul 2019 18:35:15 +0200 Subject: [PATCH] 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 --- core/java/android/view/IWindowSession.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/IWindowSession.aidl b/core/java/android/view/IWindowSession.aidl index 4bfd1387bef4a..f73f28a943c38 100644 --- a/core/java/android/view/IWindowSession.aidl +++ b/core/java/android/view/IWindowSession.aidl @@ -308,7 +308,7 @@ interface IWindowSession { /** * Called when the system gesture exclusion has changed. */ - void reportSystemGestureExclusionChanged(IWindow window, in List exclusionRects); + oneway void reportSystemGestureExclusionChanged(IWindow window, in List exclusionRects); /** * Request the server to call setInputWindowInfo on a given Surface, and return