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

Commit 57201482 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev am: 370b040c" into oc-dev-plus-aosp
parents 28e57e45 e6342dce
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));
        }