Skip to content

--private clobers /data/data/[package name]/files directory #263

@knappador

Description

@knappador

The default behavior when upgrading packages is not to clobber directories or delete files that aren't included in the APK, however, this is in effect what happens when updating using --private. It's wrong and I'm trying to figure out where we clobber this directory. AssetExtract.java looks like it's supposed to be working since mkdirs doesn't clobber directories by default.

This is definitely -not- correct in terms of how the rest of Android application development works. I'm investigating a solution because I have live APK's out there that will lose data on update if I don't fix this =)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions