summaryrefslogtreecommitdiff
path: root/services/appprediction/java
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/appprediction/java
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/appprediction/java')
-rw-r--r--services/appprediction/java/com/android/server/appprediction/RemoteAppPredictionService.java3
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);
}