Clear app data via the Activity Manager, not Package Manager
This is because doing it through the Activity Manager also makes sure that the app has been shut down first, which is quite a desirable invariant for restore handling.
Loading
Please register or sign in to comment