Wednesday, 15 July 2015

android - onPause not called when application updates -


In my application I am relieved to call clean and closing resources due to my activity. Although on-pause is not called, when it is running, the app is updated. This can happen when the application is running and the user has automatic updates enabled in Google Play.

  1. App install "ADB install my.app"

    To verify what happens when updating the app, I follow these steps: Li>

  2. Launch the app
  3. Update the app's version code in the Android manifest
  4. Install the app with "ADB Install-R.MyApp"
  5. < / Ol>

    The app has now been aborted, but the action currently shown is not made indirectly.

    Do I have to keep any data open or clean up the data in this case?


No comments:

Post a Comment