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

Commit 370b040c authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev

parents 817aa8fd 4745fb6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7443,7 +7443,7 @@ public class Activity extends ContextThemeWrapper
        final int offsetX = (anchorBounds != null)
                ? anchorBounds.left - actualAnchorBounds.left : 0;
        int offsetY = (anchorBounds != null)
                ? anchorBounds.top - actualAnchorBounds.top : 0;
                ? anchorBounds.bottom - actualAnchorBounds.bottom : 0;

        final boolean wasShowing;

+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
package com.android.server.autofill.ui;

import static com.android.server.autofill.Helper.sDebug;
import static com.android.server.autofill.Helper.sVerbose;

import android.annotation.NonNull;
import android.annotation.Nullable;
@@ -337,6 +338,11 @@ final class FillUi {
        @Override
        public void show(WindowManager.LayoutParams p, Rect transitionEpicenter,
                boolean fitsSystemWindows, int layoutDirection) {
            if (sVerbose) {
                Slog.v(TAG, "AutofillWindowPresenter.show(): fit=" + fitsSystemWindows
                        + ", epicenter="+ transitionEpicenter + ", dir=" + layoutDirection
                        + ", params=" + p);
            }
            UiThread.getHandler().post(() -> mWindow.show(p));
        }