Add Initial SearchUIManager

Bug:162234997

Test: builds, locally ran cts tests

CTS tests: ag/13129468

[Meeting notes with Svet/Sunny/Winson] go/aaplus-search-api
[Design diagrams] go/aaplus-search-supl

Change-Id: I4589cd411e124dc9d7ea132a71651f6b9f9656ae
This commit is contained in:
Hyunyoung Song
2020-11-20 20:27:54 -08:00
parent b1ecff76c8
commit 21e60a9d43
31 changed files with 2990 additions and 0 deletions

View File

@@ -323,6 +323,8 @@ public final class SystemServer implements Dumpable {
"com.android.server.appprediction.AppPredictionManagerService";
private static final String CONTENT_SUGGESTIONS_SERVICE_CLASS =
"com.android.server.contentsuggestions.ContentSuggestionsManagerService";
private static final String SEARCH_UI_MANAGER_SERVICE_CLASS =
"com.android.server.searchui.SearchUiManagerService";
private static final String DEVICE_IDLE_CONTROLLER_CLASS =
"com.android.server.DeviceIdleController";
private static final String BLOB_STORE_MANAGER_SERVICE_CLASS =
@@ -1571,6 +1573,12 @@ public final class SystemServer implements Dumpable {
Slog.d(TAG, "ContentSuggestionsService not defined by OEM");
}
// Search UI manager service
// TODO: add deviceHasConfigString(context, R.string.config_defaultSearchUiService)
t.traceBegin("StartSearchUiService");
mSystemServiceManager.startService(SEARCH_UI_MANAGER_SERVICE_CLASS);
t.traceEnd();
t.traceBegin("InitConnectivityModuleConnector");
try {
ConnectivityModuleConnector.getInstance().init(context);