diff options
author | Patrick Baumann <patb@google.com> | 2018-04-05 14:50:38 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2018-04-09 13:31:39 -0700 |
commit | b00eb6459127018ec7641f407d5873a0c417416d (patch) | |
tree | 1fe93a1e147fa0c91834a6ddefaedaa3679aac19 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 752cd826b9991f0333ac4cfe7a8c3a9c60f0cbda (diff) |
Check permissions only against packagesettings
Prior to this change there was a chance that an updating app would not
exist in mPackages and cause a permission check for that app to fail.
This change moves all permission checks to use mSettings and the cached
package it contains to do the checks.
Change-Id: I0717bddbb08b1d0dbab3ea79fa0d2067aa858753
Fixes: 76228188
Test: Manual - system starts, permission checks work before / after update
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions