Moved activity to stopped state if relaunched while device is asleep
- If an activity is done relaunching and the device is sleeping or shutting down, go ahead and force the activity to sleep which will transition it into the stopped state. We do this after the activity is relaunched as activities can currently only relaunch into the resumed or paused state both of which are visible state. However, the activity should be in the stopped state while the device is sleeping. - Also removed previous fix for b/28518380 that prevents activities from relaunching due to configuration changes while the device is sleeping. We need to allow relaunches due to configuration changes while the device is sleeping so the things are responsive when you wake-up the device. And, it is no longer a big deal since we are transitioning the activity to the stop state when the relaunch is complete. Bug: 30253333 Bug: 28518380 Change-Id: I5313c13a13c2d2f9bb43831797918d9e67a30cda
Loading
Please register or sign in to comment