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

Commit fddc1eb3 authored by Dan Saadati's avatar Dan Saadati
Browse files

Update AppSearchManager to clarify features

Bug: 185595210
Change-Id: Idb2eae922bf208490f1c166a99bb8a1b0e05191c
parent f9060291
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}.