summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-03-31 16:52:11 -0700
committerSvet Ganov <svetoslavganov@google.com>2015-03-31 16:52:49 -0700
commit37f05184b5641366b59c540ad6bf3e3b2a1ac6ea (patch)
tree2bbf5b61347c209d746adc70dea5304e260e4f24 /tools/aapt2/java/JavaClassGenerator.cpp
parent0b037e93fce761f923330432f51aba40f9a316c8 (diff)
Fix clobbered shared user install permissions.
The install permissions for a shared user were clobbered when a pending package for this user was matched to the shared user after reading the state from XML. The reason was that the copy code in PackageSettingBase was using the getter to get its settings state to which to copy the permissions for the pending package but this is the permissions state for the shared user instead of the package. Since the pending package has no permissions we ended up clobbering the permissions for the shared user. bug:19955926 Change-Id: Ia8d090883d50fc987a32ceeed6c7562c49698328
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions