Revert "App home directories are now 0700 for targetSdkVersion > 17"
This reverts commit 7f5c84a0b25706746a92ad1233cbbb8923eda54d.
Bug: 7966399
Bug: 7208882
Change-Id: I9fb13cf06c0f6605f3d992525346b14fe3259c66
diff --git a/cmds/installd/installd.h b/cmds/installd/installd.h
index cf2bed6..efd3aa7 100644
--- a/cmds/installd/installd.h
+++ b/cmds/installd/installd.h
@@ -20,7 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
-#include <stdbool.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <dirent.h>
@@ -193,14 +192,12 @@
/* commands.c */
-int install(const char *pkgname, uid_t uid, gid_t gid,
- bool restrictHomeDirectory);
+int install(const char *pkgname, uid_t uid, gid_t gid);
int uninstall(const char *pkgname, uid_t persona);
int renamepkg(const char *oldpkgname, const char *newpkgname);
int fix_uid(const char *pkgname, uid_t uid, gid_t gid);
int delete_user_data(const char *pkgname, uid_t persona);
-int make_user_data(const char *pkgname, uid_t uid, uid_t persona,
- bool restrictHomeDirectory);
+int make_user_data(const char *pkgname, uid_t uid, uid_t persona);
int delete_persona(uid_t persona);
int delete_cache(const char *pkgname, uid_t persona);
int move_dex(const char *src, const char *dst);