diff options
author | Jeff Sharkey <jsharkey@android.com> | 2015-07-28 10:49:47 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2015-07-28 14:42:34 -0700 |
commit | 4634987668eb7e1fa1434bddbde969ef43de6b40 (patch) | |
tree | dfb9e8e2618ac10f58888678cc0226c334864f72 /media | |
parent | 2e606d7be5275f2bff4c5755351bc3191ecb1bf1 (diff) | |
download | frameworks_base-4634987668eb7e1fa1434bddbde969ef43de6b40.zip frameworks_base-4634987668eb7e1fa1434bddbde969ef43de6b40.tar.gz frameworks_base-4634987668eb7e1fa1434bddbde969ef43de6b40.tar.bz2 |
Give secondary users read-only physical cards.
Long ago, we mounted secondary physical cards as readable by all
users on the device, which enabled the use-case of loading media on
a card and viewing it from all users.
More recently, we started giving write access to these secondary
physical cards, but this created a one-directional channel for
communication across user boundaries; something that CDD disallows.
This change is designed to give us the best of both worlds: the
package-specific directories are writable for the user that mounted
the card, but access to those "Android" directories are blocked for
all other users. Other users remain able to read content elsewhere
on the card.
Bug: 22787184
Change-Id: Ied8c98995fec1b7b50ff7d930550feabb4398582
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions