summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2019-07-16 18:35:15 +0200
committerWinson Chung <winsonc@google.com>2019-07-16 17:58:15 +0000
commit2dccd145d30ba72d5fa5b1bf52157bef6299de57 (patch)
tree5b22acd860ccc2ec1f5fd4e97ee29b479713c5ed /core/java
parenteafd4dae94f8159af68e0ef006df2e413e82c477 (diff)
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
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/IWindowSession.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/IWindowSession.aidl b/core/java/android/view/IWindowSession.aidl
index 4bfd1387bef4..f73f28a943c3 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<Rect> exclusionRects);
+ oneway void reportSystemGestureExclusionChanged(IWindow window, in List<Rect> exclusionRects);
/**
* Request the server to call setInputWindowInfo on a given Surface, and return