diff options
author | Hai Zhang <zhanghai@google.com> | 2019-03-06 12:21:07 -0800 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2019-03-07 21:33:12 -0800 |
commit | a4959e569d9253c5632b14c195e7b12f300fd30a (patch) | |
tree | 72c1bab317c4400c32eabc1e6c26249542b6ed10 /services/contentsuggestions | |
parent | 88da4473edfe7651cbc239aca0ad2e6f37cc1007 (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.java | 3 |
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 |