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

Commit ce93aa23 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase ANR test timeouts"

parents 5b6fc415 a7d36fd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2368,7 +2368,7 @@ class InputDispatcherSingleWindowAnr : public InputDispatcherTest {
        mWindow =
                new FakeWindowHandle(mApplication, mDispatcher, "TestWindow", ADISPLAY_ID_DEFAULT);
        mWindow->setFrame(Rect(0, 0, 30, 30));
        mWindow->setDispatchingTimeout(10ms);
        mWindow->setDispatchingTimeout(30ms);
        mWindow->setFocus(true);
        // Adding FLAG_NOT_TOUCH_MODAL to ensure taps outside this window are not sent to this
        // window.
@@ -2760,7 +2760,7 @@ class InputDispatcherMultiWindowAnr : public InputDispatcherTest {

        mFocusedWindow =
                new FakeWindowHandle(mApplication, mDispatcher, "Focused", ADISPLAY_ID_DEFAULT);
        mFocusedWindow->setDispatchingTimeout(10ms);
        mFocusedWindow->setDispatchingTimeout(30ms);
        mFocusedWindow->setFrame(Rect(50, 50, 100, 100));
        mFocusedWindow->setLayoutParamFlags(InputWindowInfo::FLAG_NOT_TOUCH_MODAL |
                                            InputWindowInfo::FLAG_SPLIT_TOUCH);