From 05a066042b383894ca3ce37af52b2ee9a794038b Mon Sep 17 00:00:00 2001 From: Shashwat Razdan Date: Thu, 3 Mar 2022 00:34:33 +0000 Subject: [PATCH] Revert "Adding multiple provider support in AbstractMasterSystem..." Revert "Adding tests for multiple provider support in AbstractMa..." Revert submission 17008428-cherrypick-multi-provider-cloudsearch-2yrjp5zxz1 Reason for revert: Broke TextToSpeech service Reverted Changes: If1d0ac733:Adding tests for multiple provider support in Abst... I1da7f54bc:Adding multiple provider support in AbstractMaster... Change-Id: Ic57ef1339b4b06b4b22981090a651eb4c570ca69 Bug: 222221754 --- core/res/res/values/config.xml | 4 +- core/res/res/values/symbols.xml | 2 +- .../CloudSearchManagerService.java | 57 +--- ...CloudSearchManagerServiceShellCommand.java | 7 +- .../CloudSearchPerUserService.java | 24 +- .../infra/AbstractMasterSystemService.java | 306 ++++-------------- .../infra/AbstractPerUserSystemService.java | 122 ++----- ...FrameworkResourcesServiceNameResolver.java | 139 +++----- .../server/infra/ServiceNameResolver.java | 71 +--- 9 files changed, 164 insertions(+), 568 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 5b07eb58001e8..5ac30de631c50 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -4130,9 +4130,9 @@ This service must be trusted, as it can be activated without explicit consent of the user. If no service with the specified name exists on the device, cloudsearch will be disabled. Example: "com.android.intelligence/.CloudSearchService" - config_defaultCloudSearchServices is for the multiple provider case. + config_defaultCloudSearchService is for the single provider case. --> - +