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

Commit 02c678fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase injection timeout for InputFilterInjectionPolicyTest"

parents af82eb25 4648fea6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6184,7 +6184,7 @@ protected:
                POLICY_FLAG_PASS_TO_USER | POLICY_FLAG_DISABLE_KEY_REPEAT;
        ASSERT_EQ(InputEventInjectionResult::SUCCEEDED,
                  mDispatcher->injectInputEvent(&event, /*targetUid=*/{},
                                                InputEventInjectionSync::WAIT_FOR_RESULT, 10ms,
                                                InputEventInjectionSync::WAIT_FOR_RESULT, 100ms,
                                                policyFlags | additionalPolicyFlags));

        InputEvent* received = mWindow->consume();
@@ -6219,7 +6219,7 @@ protected:
        const int32_t additionalPolicyFlags = POLICY_FLAG_PASS_TO_USER;
        ASSERT_EQ(InputEventInjectionResult::SUCCEEDED,
                  mDispatcher->injectInputEvent(&event, /*targetUid=*/{},
                                                InputEventInjectionSync::WAIT_FOR_RESULT, 10ms,
                                                InputEventInjectionSync::WAIT_FOR_RESULT, 100ms,
                                                policyFlags | additionalPolicyFlags));

        InputEvent* received = mWindow->consume();