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

Commit 0d4faf14 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "DO NOT MERGE - Backported some Autofill Javadoc improvements from master." into oc-mr1-dev

am: 11238d4f

Change-Id: I38a6305bae7769aacaa3894744fc73dc82c25a62
parents 3c84b37f 11238d4f
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -439,6 +439,19 @@ import com.android.internal.os.SomeArgs;
 *
 *  save(username, password);
 *
 * <a name="Privacy"></a>
 * <h3>Privacy</h3>
 *
 * <p>The {@link #onFillRequest(FillRequest, CancellationSignal, FillCallback)} method is called
 * without the user content. The Android system strips some properties of the
 * {@link android.app.assist.AssistStructure.ViewNode view nodes} passed to this call, but not all
 * of them. For example, the data provided in the {@link android.view.ViewStructure.HtmlInfo}
 * objects set by {@link android.webkit.WebView} is never stripped out.
 *
 * <p>Because this data could contain PII (Personally Identifiable Information, such as username or
 * email address), the service should only use it locally (i.e., in the app's process) for
 * heuristics purposes, but it should not be sent to external servers.
 *
 * </pre>
 */
public abstract class AutofillService extends Service {
+2 −5
Original line number Diff line number Diff line
@@ -128,11 +128,8 @@ public final class FillRequest implements Parcelable {

    /**
     * Gets the extra client state returned from the last {@link
     * AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback)
     * fill request}, so the service can use it for state management.
     *
     * <p>Once a {@link AutofillService#onSaveRequest(SaveRequest, SaveCallback)
     * save request} is made, the client state is cleared.
     * AutofillService#onFillRequest(FillRequest, CancellationSignal, FillCallback)}
     * fill request}.
     *
     * @return The client state.
     */