Commit d3f175c
Christopher Tate
Don't finish noHistory="true" activities behind the lock screen
The foreground activity is stopped when the device goes to sleep,
and started again when the device is unlocked. We now distinguish
this case from a "normal" stop, and do not finish() a foreground
noHistory="true" activity inappropriately when the device sleeps.
We also detect the case where an activity is started while the
device is still asleep, in which case the foreground noHistory
activity is cleaned up as part of bringing the new activity to
the foreground.
Bug 6657549
Change-Id: I9c6a0830aed0e47e4207b62803b90067c84861121 parent a676cda commit d3f175c
1 file changed
+28
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
1477 | 1492 | | |
1478 | 1493 | | |
1479 | 1494 | | |
| |||
3279 | 3294 | | |
3280 | 3295 | | |
3281 | 3296 | | |
3282 | | - | |
3283 | | - | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
3284 | 3307 | | |
3285 | 3308 | | |
3286 | 3309 | | |
| |||
3526 | 3549 | | |
3527 | 3550 | | |
3528 | 3551 | | |
3529 | | - | |
| 3552 | + | |
3530 | 3553 | | |
3531 | | - | |
| 3554 | + | |
| 3555 | + | |
3532 | 3556 | | |
3533 | 3557 | | |
3534 | 3558 | | |
| |||
0 commit comments