diff options
author | Martijn Coenen <maco@google.com> | 2020-02-12 15:11:56 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2020-02-18 15:23:35 +0100 |
commit | b3562f43d211d10390a5ec454784ab0bdd077167 (patch) | |
tree | 7fe7ba0d6dfa9ce585b3c187acd77580a73149f0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 46d77cf71c4091daa2aba353afdfe9f4f718ba48 (diff) |
Fixup OBB directories correctly after package install.
The installer may pre-create OBB directories for packages that it is
installing on external storage, in locations like
/storage/emulated/0/data/obb/com.foo . The permissions on this directory
is never explicitly setup; instead, sdcardfs magically fixed up the
permissions to match the package name "com.foo".
With sdcardfs going away in devices launching with R, we need to set
the permissions for these paths up explicitly. Since only vold can do
that, have PackageManager call into StorageManager after an app
install/upgrade to do the correct setup.
Bug: 146419093
Test: manually verify directories are setup correctly
Change-Id: I530c8de196011b1dc97c7a9ab612e5d6dc9403a1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions