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

Commit 491c034f authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
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
am: 57201482

Change-Id: I75db688e77f46281a9887a0d6248a1eddf0e4860
parents 7ea8b0b2 57201482
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));
        }