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

Commit 3f1e2318 authored by Felipe Leme's avatar Felipe Leme
Browse files

Removed unused APIs.

Plus fixed a few minor TODOs.

Test: atest AugmentedLoginActivityTest
Test: m update-api

Bug: 122654591
Fixes: 123233342

Change-Id: Ie5040077255ffab8fee019ca6a0a122fe9f2e03d
parent b581ab29
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -6294,20 +6294,11 @@ package android.service.autofill.augmented {
  }
  public abstract class PresentationParams {
    method public int getFlags();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getFullArea();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea();
    field public static final int FLAG_HINT_GRAVITY_BOTTOM = 2; // 0x2
    field public static final int FLAG_HINT_GRAVITY_LEFT = 4; // 0x4
    field public static final int FLAG_HINT_GRAVITY_RIGHT = 8; // 0x8
    field public static final int FLAG_HINT_GRAVITY_TOP = 1; // 0x1
    field public static final int FLAG_HOST_IME = 16; // 0x10
    field public static final int FLAG_HOST_SYSTEM = 32; // 0x20
  }
  public abstract static class PresentationParams.Area {
    method @NonNull public android.graphics.Rect getBounds();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSubArea(@NonNull android.graphics.Rect);
  }
}
+0 −9
Original line number Diff line number Diff line
@@ -2073,20 +2073,11 @@ package android.service.autofill.augmented {
  }

  public abstract class PresentationParams {
    method public int getFlags();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getFullArea();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea();
    field public static final int FLAG_HINT_GRAVITY_BOTTOM = 2; // 0x2
    field public static final int FLAG_HINT_GRAVITY_LEFT = 4; // 0x4
    field public static final int FLAG_HINT_GRAVITY_RIGHT = 8; // 0x8
    field public static final int FLAG_HINT_GRAVITY_TOP = 1; // 0x1
    field public static final int FLAG_HOST_IME = 16; // 0x10
    field public static final int FLAG_HOST_SYSTEM = 32; // 0x20
  }

  public abstract static class PresentationParams.Area {
    method @NonNull public android.graphics.Rect getBounds();
    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSubArea(@NonNull android.graphics.Rect);
  }

}
+0 −2
Original line number Diff line number Diff line
@@ -61,8 +61,6 @@ import java.util.List;
 */
@SystemApi
@TestApi
// TODO(b/122654591): @TestApi is needed because CtsAutoFillServiceTestCases hosts the service
// in the same package as the test, and that module is compiled with SDK=test_current
public abstract class AugmentedAutofillService extends Service {

    private static final String TAG = AugmentedAutofillService.class.getSimpleName();
+0 −2
Original line number Diff line number Diff line
@@ -31,8 +31,6 @@ import android.util.Log;
 */
@SystemApi
@TestApi
//TODO(b/122654591): @TestApi is needed because CtsAutoFillServiceTestCases hosts the service
//in the same package as the test, and that module is compiled with SDK=test_current
public final class FillCallback {

    private static final String TAG = FillCallback.class.getSimpleName();
+1 −3
Original line number Diff line number Diff line
@@ -38,10 +38,8 @@ import java.util.List;
 */
@SystemApi
@TestApi
//TODO(b/122654591): @TestApi is needed because CtsAutoFillServiceTestCases hosts the service
//in the same package as the test, and that module is compiled with SDK=test_current
public final class FillController {
    private static final String TAG = "FillController";
    private static final String TAG = FillController.class.getSimpleName();

    private final AutofillProxy mProxy;

Loading