summaryrefslogtreecommitdiff
path: root/services/contentsuggestions
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2019-03-06 12:21:07 -0800
committerHai Zhang <zhanghai@google.com>2019-03-07 21:33:12 -0800
commita4959e569d9253c5632b14c195e7b12f300fd30a (patch)
tree72c1bab317c4400c32eabc1e6c26249542b6ed10 /services/contentsuggestions
parent88da4473edfe7651cbc239aca0ad2e6f37cc1007 (diff)
Add RoleControllerManager for role controller service.
This allows us to expose both system-only and app available APIs for role in RoleControllerService. Bug: 127691087 Test: manual Change-Id: I86fe3736fc28516aae25d48efe3ba599ffdf45d5
Diffstat (limited to 'services/contentsuggestions')
-rw-r--r--services/contentsuggestions/java/com/android/server/contentsuggestions/RemoteContentSuggestionsService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/contentsuggestions/java/com/android/server/contentsuggestions/RemoteContentSuggestionsService.java b/services/contentsuggestions/java/com/android/server/contentsuggestions/RemoteContentSuggestionsService.java
index bf48d7623255..442972a1e477 100644
--- a/services/contentsuggestions/java/com/android/server/contentsuggestions/RemoteContentSuggestionsService.java
+++ b/services/contentsuggestions/java/com/android/server/contentsuggestions/RemoteContentSuggestionsService.java
@@ -47,7 +47,8 @@ public class RemoteContentSuggestionsService extends
int userId, Callbacks callbacks,
boolean bindInstantServiceAllowed, boolean verbose) {
super(context, ContentSuggestionsService.SERVICE_INTERFACE, serviceName, userId, callbacks,
- bindInstantServiceAllowed, verbose, /* initialCapacity= */ 1);
+ context.getMainThreadHandler(), bindInstantServiceAllowed, verbose,
+ /* initialCapacity= */ 1);
}
@Override