Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f107887 authored by Dan Saadati's avatar Dan Saadati Committed by Automerger Merge Worker
Browse files

Merge "Update AppSearchManager to clarify features" into sc-dev am: bc776cb9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14098659

Change-Id: If39d601814f68c4df2b66a3c13e21bb5ffdf4203
parents 8d025cc5 bc776cb9
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -29,14 +29,16 @@ import java.util.function.Consumer;
/**
 * Provides access to the centralized AppSearch index maintained by the system.
 *
 * <p>AppSearch is a search library for managing structured data featuring:
 * <p>AppSearch is an offline, on-device search library for managing structured data featuring:
 *
 * <ul>
 *   <li>A fully offline on-device solution
 *   <li>A set of APIs for applications to index documents and retrieve them via full-text search
 *   <li>APIs for applications to allow the System to display their content on system UI surfaces
 *   <li>Similarly, APIs for applications to allow the System to share their content with other
 *       specified applications.
 *   <li>APIs to index and retrieve data via full-text search.
 *   <li>An API for applications to explicitly grant read-access permission of their data to other
 *   applications.
 *   <b>See: {@link SetSchemaRequest.Builder#setSchemaTypeVisibilityForPackage}</b>
 *   <li>An API for applications to opt into or out of having their data displayed on System UI
 *   surfaces by the System-designated global querier.
 *   <b>See: {@link SetSchemaRequest.Builder#setSchemaTypeDisplayedBySystem}</b>
 * </ul>
 *
 * <p>Applications create a database by opening an {@link AppSearchSession}.