OSDN Git Service

Allow tests to change UiAutomation flags.
authorPhil Weaver <pweaver@google.com>
Tue, 29 Mar 2016 00:26:25 +0000 (17:26 -0700)
committerPhil Weaver <pweaver@google.com>
Tue, 5 Apr 2016 00:52:17 +0000 (17:52 -0700)
commitd8e88836fe9a8826cba1ba8ea80ddb65c6b7c28a
tree7c19a121a6501a2e044afc0db42159c5f3344cad
parent13af9845d4d6598dd64c4c8c99af93f92e7b56af
Allow tests to change UiAutomation flags.

Changing Instrumentation to modify the existing
UiAutomation when one with different flags is requested.

Also checking if UiAutomation is destroyed before disconnecting at the
end of a test.

Bug: 27365874
Bug: 27864279
Change-Id: Ia6efc4f89cc30dbe29286f30f8e9cb8f6fdb4712
core/java/android/app/Instrumentation.java