diff options
author | Robert Horvath <robhor@google.com> | 2019-07-24 16:28:29 +0200 |
---|---|---|
committer | Robert Horvath <robhor@google.com> | 2019-07-24 16:33:37 +0200 |
commit | 5f47c59103b73c8df8a5e09ff83ac51622c26d38 (patch) | |
tree | bad8194641c7c4305dbf912edd4cafe36cb4e900 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | cac13d44ab9ced55b6bb13d05993634d9d322487 (diff) |
Pass callingPackage in UserLifecycleTest#startApp
Calling IActivityTaskManager#startActivity requires the callingPackage
to be set correctly as of ag/8668823, otherwise a SecurityException is
thrown.
Bug: 138095678
Test: Enable multi-user by declaring the
"android.software.managed_users" feature and setting
"config_multiuserMaximumUsers" to greather than 1. Then:
`atest android.multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp`
Change-Id: Iab7cf0198a02a976ef5c54e4b87fb127aa7eac9a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions