Revert "flo: Fix sdcard permissions for native apps."
Added for logging purposes only. Revert for factoryROM
Bug: 8876648
This reverts commit c45d0c027caa78d0b411734b3148602aba8feb26
Change-Id: Iddcb301edbbab2fba4416c73064650b402f66ff1
diff --git a/init.flo.rc b/init.flo.rc
index 7a0a9a4..031409e 100644
--- a/init.flo.rc
+++ b/init.flo.rc
@@ -24,7 +24,6 @@
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
- mkdir /storage/emulated/legacy 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
@@ -34,6 +33,7 @@
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
+ symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on init
# Set permissions for persist partition
@@ -407,11 +407,6 @@
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class late_start
-# Binding fuse mount point to /storage/emulated/legacy
- on property:init.svc.sdcard=running
- wait /mnt/shell/emulated/0
- mount none /mnt/shell/emulated/0 /storage/emulated/legacy bind
-
service thermald /system/bin/thermald
class main