summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2020-12-11 14:59:16 -0800
committerKeun-young Park <keunyoung@google.com>2021-01-29 21:35:02 +0000
commit2d062e56f1d2e6f7340b53feea107a3f50d88f13 (patch)
treedd14a6f0f98189166ede39bee3c55658a9932cbb /tools/aapt2/java/JavaClassGenerator.cpp
parent30befa7b1a4240d16516a9b9254d6d1ab5eb31eb (diff)
Change setPrimaryStorageUuid to handle it for the current user
- It used hard coded user 0 and that breaks it for secondary users. Current user should be enough if this move is triggered from settings which is run from the current user. - For device with no user switching from user 0, this should not make any differences. - This change also fixes failure of CTS android.appsecurity.cts.AdoptableHostTest#testPrimaryStorage. - In longer term, we need separate setPrimaryStorageUuidAsUser API to control it per each user. Bug: 174593750 Test: atest android.appsecurity.cts.AdoptableHostTest#testPrimaryStorage Change-Id: I87c821903987d22e8d26ade92120b99a33897168 Merged-In: I87c821903987d22e8d26ade92120b99a33897168 (cherry picked from commit 9aa55f0168864186180e9090197889bee70fbb60)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions