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

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

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

parents ef3874ba a759c036
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);