summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Josh Yang <yzj@google.com> 2024-07-22 16:58:42 -0700
committer Josh Yang <yzj@google.com> 2024-07-25 11:32:50 -0700
commit9e11b523b03e1245a135a1cbb46e6ad16e3c44e7 (patch)
tree4cbfeeb41bfde0ab7db2de9613f1b5a0a58a251f /libs/androidfw/misc.cpp
parenta2246e9c27d9c2ffa2f2b4357b20f7ddb00bc77a (diff)
Fix failing tests in FullScreenMagnificationGestureHandlerTest
1. testSingleFingerScrollAfterMagnified_startsFling: this test fails because the long-press detection interferes with scroll detection during test. Moreover, the current fake motion events in test is not recognized as scroll event on watches. 2. testTwoFingerDoubleTap_StateIsIdle_shouldInActivated() and testTwoFingerDoubleTap_StateIsActivated_shouldInIdle(): these 2 tests are failing because 1) the test uses the wrong delay and 2) the queued motion events will immediately change the state to detecting state from the expected state. Flag: EXEMPT test fix only Bug: 353772906 Fix: 353772906 Test: plug a watch and run "atest FullScreenMagnificationGestureHandlerTest" Change-Id: I7d1efb6400fe4261df5bb191f284cc7cf7250924
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions