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

Commit 71ddd72f 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

am: 505729c5

Change-Id: Iba5d5ca47e649bb08f2573872f1e5770f2159a74
parents 6a24cb89 505729c5
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);