Skip to content

Instantly share code, notes, and snippets.

@agnostic-apollo
agnostic-apollo / Android-Phantom,Cached-And-Empty-Processes.md
Last active November 10, 2024 00:51
Android Phantom, Cached And Empty Processes
@agnostic-apollo
agnostic-apollo / hasFragileUserData.md
Last active November 10, 2024 16:56
Android hasFragileUserData AndroidManifest.xml flag

The hasFragileUserData flag can be added to the application node of AndroidManifest.xml. If its value is true, then when the user uninstalls the app, a prompt will be shown to the user asking him whether to keep the app's data.

<application
	...
    android:hasFragileUserData="true" tools:targetApi="q">
...
</application>