OSDN Git Service

Added direct call to syncInputTransactions
authorchaviw <chaviw@google.com>
Mon, 22 Apr 2019 20:39:46 +0000 (13:39 -0700)
committerchaviw <chaviw@google.com>
Thu, 25 Apr 2019 00:01:31 +0000 (17:01 -0700)
commit84dec9f7c6a5ecf4ebfe7532c89728e2283d135a
tree18fa65004d5ce453abbc0d856e0fde4eacfb7765
parent6d38898c1d0ed51a837ecc20a925fabb453a305c
Added direct call to syncInputTransactions

Previously, there was only a way to inject input after syncing inputs.
However, some tests require a direct call to sync inputs since we need
to ensure the info was propagated to InputManager native before
continuing with the test. This exposes a method just to
syncInputTransactions.

Bug: 130695122
Test: ActivityLifecycleTopResumedStateTests
Test: MultiDisplayPolicyTests
Change-Id: Ie3115741a20d04c743fd854ac421dc3705332488
api/test-current.txt
core/java/android/app/IUiAutomationConnection.aidl
core/java/android/app/UiAutomation.java
core/java/android/app/UiAutomationConnection.java
core/java/android/view/IWindowManager.aidl
services/core/java/com/android/server/wm/WindowManagerService.java