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

Commit 505729c5 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "Temporarily hardcoded dimensions of autofill authentication UI." into oc-dev

am: 24bac614

Change-Id: Ifb07238314f220ee97f1677e2005ac00a613c1e2
parents 60366d22 24bac614
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -101,8 +101,9 @@ final class FillUi {
            content.measure(widthMeasureSpec, heightMeasureSpec);
            content.setOnClickListener(v -> mCallback.onResponsePicked(response));
            content.setElevation(context.getResources().getDimension(R.dimen.floating_window_z));
            mContentWidth = content.getMeasuredWidth();
            mContentHeight = content.getMeasuredHeight();
            // TODO(b/33197203 , b/36660292): temporary limiting maximum height and minimum width
            mContentWidth = Math.max(content.getMeasuredWidth(), 1000);
            mContentHeight = Math.min(content.getMeasuredHeight(), 500);

            mWindow = new AnchoredWindow(content);
            mCallback.requestShowFillUi(mContentWidth, mContentHeight, mWindowPresenter);