Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user