From b5fab76bea98dff8d0825d16c3dd359397449e9a Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 28 Jan 2016 14:03:33 -0600 Subject: 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 --- Android.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 47c30c425..52c2907de 100644 --- a/Android.mk +++ b/Android.mk @@ -42,7 +42,7 @@ TARGET_RECOVERY_GUI := true LOCAL_SRC_FILES := \ twrp.cpp \ - fixPermissions.cpp \ + fixContexts.cpp \ twrpTar.cpp \ twrpDU.cpp \ twrpDigest.cpp \ @@ -342,7 +342,6 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \ dump_image \ erase_image \ flash_image \ - fix_permissions.sh \ mke2fs.conf \ pigz \ teamwin \ -- cgit v1.2.3