From 4c41efd8d919c4ec3eb1f258674455f8671f438a Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 25 Apr 2022 10:39:22 -0700 Subject: [PATCH] Make ISmartspaceManager non-blocking Methods from this manager are being called from the SystemUI main thread, and hitting system_server locks. All methods return void, and are already using a callback mechanism, we can make this oneway. Fixes: 220718061 Test: Deployed on Phone,CTS tests Change-Id: Ief549fce0d2463547cade4028696cf9431ce3a84 --- core/java/android/app/smartspace/ISmartspaceManager.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/app/smartspace/ISmartspaceManager.aidl b/core/java/android/app/smartspace/ISmartspaceManager.aidl index e7ec8891ea83f..8dc07a1b6daf7 100644 --- a/core/java/android/app/smartspace/ISmartspaceManager.aidl +++ b/core/java/android/app/smartspace/ISmartspaceManager.aidl @@ -26,7 +26,7 @@ import android.content.pm.ParceledListSlice; /** * @hide */ -interface ISmartspaceManager { +oneway interface ISmartspaceManager { void createSmartspaceSession(in SmartspaceConfig config, in SmartspaceSessionId sessionId, in IBinder token);