> The API provides a simple isIncognito() call which will tell you if incognito is enabled for the process (or the calling process). Third party applications can honor the feature using this API, or they can choose to display pictures of cats instead of running normally.
Does anybody know what the logic behind this is? I assume "incognito" modes in browsers don't expose something similar. Is the idea that if this is provided, then application programmers will be less inclined to attempt to subvert the system?
From what I've read: It always disables access to contacts, location data, and the like. Apps, however, have their own saved state (say, your score in a game). The idea is they can selectively choose to run in Guest mode when incognito is enabled.
It'd be cool if they forced apps to run in a temporary directory like how incognito mode saves cookies in the browser. Apps would appear as if you wiped their data. CyanogenMod's implementation seems like something you'd leave on, though, and constantly losing your data would be no fun (no server to backup all changes you make, unlike the web).
It's meant for content providers. Like, you have an app which the users can use to take pictures with and then another app chimes in "Hey bro can I take a look at all this delish data you have there", and the content provider is like "Whoa dude, lemme check if you incognito... Oh, yeah, have some kittens instead."
Does anybody know what the logic behind this is? I assume "incognito" modes in browsers don't expose something similar. Is the idea that if this is provided, then application programmers will be less inclined to attempt to subvert the system?