From 53d64fc839ad79be28d783f0f14082310a647dd9 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Wed, 22 Feb 2017 14:10:44 -0700 Subject: [PATCH] Start locking down /data/media access. The new sdcardfs filesystem requires that we have stricter access controls around /data/media style locations. Start by taking away the "media_rw" GID from apps requesting the WRITE_MEDIA_STORAGE permission. Common use-cases like music playback appear to continue working fine, as clients should only be attempting to use /data/media paths after calling maybeTranslateEmulatedPathToInternal(). Test: builds, boots, music playback works Bug: 35447080 Change-Id: Iba9f3ef41d3277c75497f675a1fe6d3406cf4542 --- data/etc/platform.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/data/etc/platform.xml b/data/etc/platform.xml index 344f3c83ba6cc..6248856067a09 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -60,7 +60,6 @@ -