Loading api/current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -37113,6 +37113,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -45942,7 +45943,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2 api/system-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -40225,6 +40225,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -49517,7 +49518,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2 api/test-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -37266,6 +37266,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -46312,7 +46313,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2 core/java/android/service/autofill/AutofillService.java +1 −1 Original line number Diff line number Diff line Loading @@ -247,7 +247,7 @@ public abstract class AutofillService extends Service { * @param callback object used to notify the result of the request. */ public void onSaveRequest(@NonNull SaveRequest request, @NonNull SaveCallback callback) { List<FillContext> contexts = request.getFillContexts(); final List<FillContext> contexts = request.getFillContexts(); onSaveRequest(contexts.get(contexts.size() - 1).getStructure(), request.getClientState(), callback); } Loading core/java/android/service/autofill/FillCallback.java +4 −6 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package android.service.autofill; import android.annotation.Nullable; import android.app.Activity; import android.os.Bundle; import android.os.RemoteException; /** Loading @@ -38,8 +37,8 @@ public final class FillCallback { /** * Notifies the Android System that an * {@link AutofillService#onFillRequest(android.app.assist.AssistStructure, Bundle, * int, android.os.CancellationSignal, FillCallback)} was successfully fulfilled by the service. * {@link AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, * FillCallback)} was successfully fulfilled by the service. * * @param response autofill information for that activity, or {@code null} when the activity * cannot be autofilled (for example, if it only contains read-only fields). See Loading @@ -57,9 +56,8 @@ public final class FillCallback { /** * Notifies the Android System that an * {@link AutofillService#onFillRequest(android.app.assist.AssistStructure, * Bundle, int, android.os.CancellationSignal, FillCallback)} * could not be fulfilled by the service. * {@link AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, * FillCallback)} could not be fulfilled by the service. * * @param message error message to be displayed to the user. */ Loading Loading
api/current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -37113,6 +37113,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -45942,7 +45943,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2
api/system-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -40225,6 +40225,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -49517,7 +49518,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2
api/test-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -37266,6 +37266,7 @@ package android.service.autofill { method public android.service.autofill.FillResponse.Builder setAuthentication(android.view.autofill.AutofillId[], android.content.IntentSender, android.widget.RemoteViews); method public android.service.autofill.FillResponse.Builder setClientState(android.os.Bundle); method public deprecated android.service.autofill.FillResponse.Builder setExtras(android.os.Bundle); method public android.service.autofill.FillResponse.Builder setIgnoredIds(android.view.autofill.AutofillId...); method public android.service.autofill.FillResponse.Builder setSaveInfo(android.service.autofill.SaveInfo); } Loading Loading @@ -46312,7 +46313,9 @@ package android.view { field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_AUTOFILL_NO = 2; // 0x2 field public static final int IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8; // 0x8 field public static final int IMPORTANT_FOR_AUTOFILL_YES = 1; // 0x1 field public static final int IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4; // 0x4 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2
core/java/android/service/autofill/AutofillService.java +1 −1 Original line number Diff line number Diff line Loading @@ -247,7 +247,7 @@ public abstract class AutofillService extends Service { * @param callback object used to notify the result of the request. */ public void onSaveRequest(@NonNull SaveRequest request, @NonNull SaveCallback callback) { List<FillContext> contexts = request.getFillContexts(); final List<FillContext> contexts = request.getFillContexts(); onSaveRequest(contexts.get(contexts.size() - 1).getStructure(), request.getClientState(), callback); } Loading
core/java/android/service/autofill/FillCallback.java +4 −6 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package android.service.autofill; import android.annotation.Nullable; import android.app.Activity; import android.os.Bundle; import android.os.RemoteException; /** Loading @@ -38,8 +37,8 @@ public final class FillCallback { /** * Notifies the Android System that an * {@link AutofillService#onFillRequest(android.app.assist.AssistStructure, Bundle, * int, android.os.CancellationSignal, FillCallback)} was successfully fulfilled by the service. * {@link AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, * FillCallback)} was successfully fulfilled by the service. * * @param response autofill information for that activity, or {@code null} when the activity * cannot be autofilled (for example, if it only contains read-only fields). See Loading @@ -57,9 +56,8 @@ public final class FillCallback { /** * Notifies the Android System that an * {@link AutofillService#onFillRequest(android.app.assist.AssistStructure, * Bundle, int, android.os.CancellationSignal, FillCallback)} * could not be fulfilled by the service. * {@link AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, * FillCallback)} could not be fulfilled by the service. * * @param message error message to be displayed to the user. */ Loading