Fix PowerMenuTest flaky
The long press key gesture could be triggered by long press timeout or the key event has `FLAG_LONG_PRESS`, we should keep processing the long press behavior if it's already triggered by FLAG_LONG_PRESS or the press time is over the timeout. Bug: 242031003 Test: atest PlatformScenarioTests:PowerMenuTest --rerun-until-failure 20 Test: atest SingleKeyGestureTests Change-Id: Ibcfc29db67219f9e2b5df9ae6b10b32f74a06435
Loading
Please register or sign in to comment