am c02c35fb: Merge "restorecon /data/media when re-creating it for multi-user upgrade."

* commit 'c02c35fbdc90acbb6483fddd9a8822a16a63689d':
  restorecon /data/media when re-creating it for multi-user upgrade.
This commit is contained in:
Nick Kralevich 2013-12-17 15:08:30 -08:00 committed by Android Git Automerger
commit e7394ba8bd

View File

@ -392,6 +392,10 @@ int initialize_directories() {
goto fail;
}
if (selinux_android_restorecon(android_media_dir.path)) {
goto fail;
}
// /data/media/0
char owner_media_dir[PATH_MAX];
snprintf(owner_media_dir, PATH_MAX, "%s0", android_media_dir.path);