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

Commit 2c888424 authored by Felipe Leme's avatar Felipe Leme
Browse files

Removed all (?!?!?) references to 'affordance' on Autofill documents.

Test: nope

Change-Id: I6e38ee76adf9469b058937092c8e1d06800efdea
parent 4acbc89f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ import com.android.internal.util.Preconditions;
import java.util.ArrayList;

/**
 * Defines a custom description for the Save UI affordance.
 * Defines a custom description for the autofill save UI.
 *
 * <p>This is useful when the autofill service needs to show a detailed view of what would be saved;
 * for example, when the screen contains a credit card, it could display a logo of the credit card
@@ -131,7 +131,7 @@ public final class CustomDescription implements Parcelable {
         * <p><b>Note:</b> If any child view of presentation triggers a
         * {@link RemoteViews#setOnClickPendingIntent(int, android.app.PendingIntent) pending intent
         * on click}, such {@link PendingIntent} must follow the restrictions below, otherwise
         * it might not be triggered or the Save affordance might not be shown when its activity
         * it might not be triggered or the autofill save UI might not be shown when its activity
         * is finished:
         * <ul>
         *   <li>It cannot be created with the {@link PendingIntent#FLAG_IMMUTABLE} flag.
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ public final class FillResponse implements Parcelable {
         *
         * @param authentication Intent to an activity with your authentication flow.
         * @param presentation The presentation to visualize the response.
         * @param ids id of Views that when focused will display the authentication UI affordance.
         * @param ids id of Views that when focused will display the authentication UI.
         *
         * @return This builder.
         * @throws IllegalArgumentException if {@code ids} is {@code null} or empty, or if
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ package android.service.autofill;
 * Helper class used to change a child view of a {@link android.widget.RemoteViews presentation
 * template} at runtime, using the values of fields contained in the screen.
 *
 * <p>Typically used by {@link CustomDescription} to provide a customized Save UI affordance.
 * <p>Typically used by {@link CustomDescription} to provide a customized autofill save UI.
 */
public interface Transformation {
}
+6 −6
Original line number Diff line number Diff line
@@ -4480,7 +4480,7 @@ message MetricsEvent {
    // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request
    AUTOFILL_INVALID_AUTHENTICATION = 1128;

    // An autofill service used a custom description (using RemoteViews) in the Save affordance
    // An autofill service used a custom description (using RemoteViews) in the autofill save UI
    // Package: Package of app that is autofilled
    // OS: O MR
    // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request
@@ -4491,14 +4491,14 @@ message MetricsEvent {
    // OS: O MR
    FIELD_AUTOFILL_SAVE_TYPE = 1130;

    // An autofill service used a custom subtitle (String) in the Save affordance
    // An autofill service used a custom subtitle (String) in the autofill save UI
    // Package: Package of app that is autofilled
    // OS: O MR
    // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request
    // Tag FIELD_AUTOFILL_SAVE_TYPE: Type of save object passed by the service
    AUTOFILL_SAVE_CUSTOM_SUBTITLE = 1131;

    // User tapped a link in the custom description of the Save affordance provided by an autofill service
    // User tapped a link in the custom description of the autofill save UI provided by an autofill service
    // Package: Package of app that is autofilled
    // OS: O MR
    // Type TYPE_UNKNOWN: The link was not properly set by the service
@@ -4518,12 +4518,12 @@ message MetricsEvent {
    // Tag FIELD_AUTOFILL_SAVE_TYPE: Type of save object passed by the service
    AUTOFILL_SAVE_VALIDATION = 1133;

    // Result of an operation in the autofill save affordance after the user tapped a link in the custom description
    // Result of an operation in the autofill save UI after the user tapped a link in the custom description
    // provided by the autofill service
    // Package: Package of app that is autofilled
    // OS: O MR
    // Type TYPE_OPEN: The save affordance was restored
    // Type TYPE_DISMISS: The save affordcance was destroyed
    // Type TYPE_OPEN: The autofill save UI was restored
    // Type TYPE_DISMISS: The autofill save UI was destroyed
    // Type TYPE_FAILURE: An invalid opperation was reported by the app's AutofillManager
    AUTOFILL_PENDING_SAVE_UI_OPERATION = 1134;

+2 −2
Original line number Diff line number Diff line
@@ -325,14 +325,14 @@ public final class AutoFillUI {
    }

    /**
     * Hides all UI affordances.
     * Hides all autofill UIs.
     */
    public void hideAll(@Nullable AutoFillUiCallback callback) {
        mHandler.post(() -> hideAllUiThread(callback));
    }

    /**
     * Destroy all UI affordances.
     * Destroy all autofill UIs.
     */
    public void destroyAll(@Nullable PendingUi pendingSaveUi,
            @Nullable AutoFillUiCallback callback, boolean notifyClient) {
Loading