diff options
author | Richard Uhler <ruhler@google.com> | 2019-04-16 10:30:07 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2019-04-17 13:59:13 +0100 |
commit | d6f83bb511e630453bd7390c2f8b129811394723 (patch) | |
tree | 8c4131eea907a2d921f98a6df36418f11df21ecb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6243f0aa27ee1c0f589489ab386d375afacfe2c3 (diff) |
Use USER_SYSTEM instead of USER_ALL when enabling rollback.
The rollback manager needs to know the user that the install session is
associated with. When installing a package for USER_ALL, the install
session is associated with USER_SYSTEM.
This fixes an IllegalArgumentException that would otherwise be thrown if
we ask for all the sessions associated with USER_ALL.
Bug: 130530159
Test: adb install RollbackTestAppAv1.apk
adb install -i com.android.shell --enable-rollback RollbackTestAppAv2.apk,
run from both primary and secondary users.
Change-Id: I4a778ffb96cd79875a54da9de9d348d4744a7efb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions