Replace fix permissions with fix contexts for emulated storage
Fix permissions rarely fixed anything on more recent versions of
Android and usually made things worse. Instead we will replace it
with a more dumbed down option that should fix contexts on
/data/media with a few improvements to ensure that contexts get
fixed for multiple users and on adopted storage.
Change-Id: If5523781936a0b04196e2ad871cae767ebae2583
diff --git a/Android.mk b/Android.mk
index 47c30c4..52c2907 100644
--- a/Android.mk
+++ b/Android.mk
@@ -42,7 +42,7 @@
LOCAL_SRC_FILES := \
twrp.cpp \
- fixPermissions.cpp \
+ fixContexts.cpp \
twrpTar.cpp \
twrpDU.cpp \
twrpDigest.cpp \
@@ -342,7 +342,6 @@
dump_image \
erase_image \
flash_image \
- fix_permissions.sh \
mke2fs.conf \
pigz \
teamwin \