Before: /opt/usr/media
After: /opt/usr/home/UID/media
Change-Id: Ida39777ac40587719beb8d28b8f04172c98900e5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
*/
+#include <unistd.h>
+#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static const char *internal_get_root(void)
{
const char *ret;
-
- if (is_compat_bind_mount())
- ret = COMPAT_DIR;
- else
- ret = tzplatform_getenv(TZ_USER_CONTENT);
+ ret = tzplatform_uid_getenv(getuid(), TZ_USER_CONTENT);
return ret;
}