From c04cb487a42306ae7cb6c608a227305b30f82dcf Mon Sep 17 00:00:00 2001 From: Shashwat Razdan Date: Thu, 3 Mar 2022 19:28:21 +0000 Subject: [PATCH] Revert "Revert "Adding multiple provider support in AbstractMast..." Revert "Revert "Adding tests for multiple provider support in Ab..." Revert submission 17060491-revert-17008428-cherrypick-multi-provider-cloudsearch-2yrjp5zxz1-WHCUFOAJWF Reason for revert: Fixing the breakage in ag/17065868 Reverted Changes: Ic57ef1339:Revert "Adding multiple provider support in Abstra... I22cfed884:Revert "Adding tests for multiple provider support... Test: atest CloudSearchServiceTestCases Change-Id: I531fd57e5eab6c5106037558c0b6b8e81c629ec0 --- 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 | 308 ++++++++++++++---- .../infra/AbstractPerUserSystemService.java | 122 +++++-- ...FrameworkResourcesServiceNameResolver.java | 141 +++++--- .../server/infra/ServiceNameResolver.java | 71 +++- 9 files changed, 570 insertions(+), 166 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 7f16cdcfc5957..bc271bfaa222b 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_defaultCloudSearchService is for the single provider case. + config_defaultCloudSearchServices is for the multiple provider case. --> - +