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/appprediction | |
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/appprediction')
-rw-r--r-- | services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java b/services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java index 45ea86f9e74e..922b3271e20c 100644 --- a/services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java +++ b/services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java @@ -46,7 +46,8 @@ public class RemoteAppPredictionService extends ComponentName componentName, int userId, RemoteAppPredictionServiceCallbacks callback, boolean bindInstantServiceAllowed, boolean verbose) { - super(context, serviceInterface, componentName, userId, callback, bindInstantServiceAllowed, + super(context, serviceInterface, componentName, userId, callback, + context.getMainThreadHandler(), bindInstantServiceAllowed, verbose, /* initialCapacity= */ 1); } |