Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8af55c66 authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am e03c0244: Merge "Clear data deletes too much" into jb-mr1-dev

* commit 'e03c0244':
  Clear data deletes too much
parents 9ed957c2 e03c0244
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -185,8 +185,8 @@ int delete_user_data(const char *pkgname, uid_t persona)
    if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
        return -1;

    /* delete contents AND directory, no exceptions */
    return delete_dir_contents(pkgdir, 1, NULL);
    /* delete contents, excluding "lib", but not the directory itself */
    return delete_dir_contents(pkgdir, 0, "lib");
}

int make_user_data(const char *pkgname, uid_t uid, uid_t persona)