Initial commit of Content Suggestions (overview long press) Manager.

Test: compile
Bug: 120865921
Change-Id: I9f8310112bedc883406f0f50a99041f542036fd9
This commit is contained in:
Winson Chung
2019-01-08 17:41:55 -08:00
parent 54e91344e2
commit 3fb0f258d3
31 changed files with 1694 additions and 0 deletions

View File

@@ -262,6 +262,8 @@ public final class SystemServer {
"com.android.server.adb.AdbService$Lifecycle";
private static final String APP_PREDICTION_MANAGER_SERVICE_CLASS =
"com.android.server.appprediction.AppPredictionManagerService";
private static final String CONTENT_SUGGESTIONS_SERVICE_CLASS =
"com.android.server.contentsuggestions.ContentSuggestionsManagerService";
private static final String PERSISTENT_DATA_BLOCK_PROP = "ro.frp.pst";
@@ -1160,6 +1162,11 @@ public final class SystemServer {
mSystemServiceManager.startService(APP_PREDICTION_MANAGER_SERVICE_CLASS);
traceEnd();
// Content suggestions manager service
traceBeginAndSlog("StartContentSuggestionsService");
mSystemServiceManager.startService(CONTENT_SUGGESTIONS_SERVICE_CLASS);
traceEnd();
// NOTE: ClipboardService indirectly depends on IntelligenceService
traceBeginAndSlog("StartClipboardService");
mSystemServiceManager.startService(ClipboardService.class);