commit | 7a04beeda00aff327afee9436fd7aed954ee4127 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Thu Aug 04 11:36:26 2022 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Feb 14 18:17:10 2023 +0000 |
tree | 48b08289b75f15bfafd39e96518fedcd8f00c1ae | |
parent | eec689f2668bdcb7c820d153de8fc82e72b93409 [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 (cherry picked from commit a3e618a77be56e87224814c0706774fe52a6741f) Merged-In: I7ca7345b064e8e74f7037b8fa3ed45bb6423e406