Android Application Data lost when app settings changes
<p>In my application I have saved user data in Application class. Location service is using in the app. When location permission is turned off manually from settings and go to the app , userdata saved in application class returns null. I couldn't figure out the issue, no one is raised such an issue before. Please help me. I have googled a lot. No solution is found.</p>