On Tue, May 29, 2012 at 11:19 AM, Latimerius <[email protected]> wrote:
> I don't know...I thought of this but I wasn't able to confirm it.  A
> can access files after B's uninstallation that were never read or even
> opened before B's uninstallation.  Unlike the test, in the actual app
> where I bumped into this, B is an APK of almost a megabyte, I mean
> it's not small, and still A was able to read in files (tens or
> hundreds kB in size) after uninstallation that had never been accessed
> before uninstallation.

Did you acquire the package context before or after the uninstall?

If before, it's eminently possible that Android is indeed keeping a
record of processes holding package contexts and is only deleting the
data once those processes have terminated. It is also possible that
it's simply a question of time, that the package data is not deleted
immediately upon uninstall but some moments later, and that requests
from a package context will succeed in the interim.

If you acquired the package context *after* the uninstall... please
contact me off-list.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to