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

Commit a759c036 authored by Felipe Leme's avatar Felipe Leme
Browse files

Temporarily hardcoded dimensions of autofill authentication UI.

Bug: 36660292
Test: manual verification
Change-Id: I2d354868a656a2b405a0e7aefb551e380e5fa7e0
parent a52fc498
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);