commit | 2d20bee73d9ba1c56d49041991e141ba3fe68c5a | [log] [tgz] |
---|---|---|
author | Jing Ji <[email protected]> | Thu Aug 04 11:36:26 2022 -0700 |
committer | Jing Ji <[email protected]> | Thu Oct 27 16:46:33 2022 -0700 |
tree | 2a60fc62c3a7a094e7eea72c024118042597324a | |
parent | f661f5e669941c91c54c0e3656c166a5594677b2 [diff] |
DO NOT MERGE: Context#startInstrumentation could be started from SHELL only now. Or, if an instrumentation starts another instrumentation and so on, and the original instrumentation is started from SHELL, allow all Context#startInstrumentation calls in this chain. Otherwise, it'll throw a SecurityException. Bug: 237766679 Test: atest CtsAppTestCases:InstrumentationTest Merged-In: Ia08f225c21a3933067d066a578ea4af9c23e7d4c Merged-In: I1b76f61c5fd6c9f7e738978592260945a606f40c Merged-In: I3ea7aa27bd776fec546908a37f667f680da9c892 Change-Id: I7ca7345b064e8e74f7037b8fa3ed45bb6423e406