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

Commit a2d250e9 authored by Dake Gu's avatar Dake Gu
Browse files

Autofill: failing testClickCustomButton caused by fullscreen CL

Last fullscreen CL moved onClickListener from decor view to
RemoteView, that causes a regression in testClickCustomButton where
it sets a click listener on the RemoteView too.

Bug: N/A
Test: atest CtsAutoFillServiceTestCases:LoginActivityTest#testClickCustomButton
Change-Id: I5f9fe1383004476ddd1db224d937c99889725813
parent 5f8b250f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -153,8 +153,8 @@ final class FillUi {
                mWindow = null;
                mWindow = null;
                return;
                return;
            }
            }
            content.setFocusable(true);
            decor.setFocusable(true);
            content.setOnClickListener(v -> mCallback.onResponsePicked(response));
            decor.setOnClickListener(v -> mCallback.onResponsePicked(response));


            Point maxSize = mTempPoint;
            Point maxSize = mTempPoint;
            resolveMaxWindowSize(context, maxSize);
            resolveMaxWindowSize(context, maxSize);