summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2022-02-09 14:14:32 -0800
committerFelipe Leme <felipeal@google.com>2022-02-10 02:50:41 +0000
commitc6e6c51902f58938ac39b74bd94e6dfe87e7685e (patch)
tree217488b2c8a59523fe532ee51254f4fe355b95a6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc8cebe93e3f4f07d43d09d6b4419770f741de525 (diff)
Changes PM so apps are not installed for pre-created users.
A pre-created user is not ready for use yet, so when an app is installed using USER_ALL, it should not be installed on such user. In particular, doing so can cause multi-user releted CTS tests to fail when the device has pre-created users. Example: - Device has pre-created user 42 - Test infra install TestApp on all users (which include 42) - Test case creates a new user - Framework converts 42 - Test case calls 'pm install-existing --user 42 --wait TestApp' - it will hang Test: adb shell pm create-user --pre-create-only && \ atest CtsAppExitTestCases:android.app.cts.ActivityManagerAppExitInfoTest#testSecondaryUser # on automotive and phone Test: atest CtsCarHostTestCases:android.car.cts.PreCreateUsersHostTest # to make sure it doesn't break anything Bug: 215653069 Bug: 218724421 Merged-In: If261163c024fbdf4121fbcd0971ed784018a2991 Change-Id: If261163c024fbdf4121fbcd0971ed784018a2991 (cherry picked from commit 1e0920671ac0208bb588f8e7ea1fc42d4d68dfb4)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions