7dfe4d7d8562351243eb81c4fcefdae07fc2fecb
Sample code, symptom video and detail: http://code.google.com/p/android/issues/detail?id=87909 If device is sleeping, activity will be paused immediately after resume, it is unnecessary to force complete it. Otherwise the state may get worse because mPausingActivity is cleared, the real pausing from activityPausedLocked won't be able to complete pause flow (PAUSING to PAUSED). If the fail-to-pause activity called finish, it will also cannot complete finish flow because only !PAUSING can do it. This results in an activity that has visible=true, finishing=true, state=PAUSING and always show on wallpaper. Issue flow: Case 1 1.At home stack and screen off. 2.A task T contains one activity Z and its process was died. 3.Launch new activity X on T. 4.Before activity Z complete resume, any process bound and died trigger update visibility and resume top. 5.X calls finish. 6.Turn on screen, X will be always visible. Case 2 1.Launch Settings (or any), press home key. 2.Launch an activity X in Task T, press home key. 3.Kill process of activity X, turn off screen. 4.Launch activity X with NEW_TASK | CLEAR_TASK. 5.Activity X calls finish. 6.Turn on screen, X will be always visible. Change-Id: I8ca1845fd100e13ec58382c8c0105bf0a9f8137d
am
877ce2c4: Merge "Make sure the bitmap from VD\'s cache is drawn using bi-linear filter." into lmp-dev
cherrypick from ics-mr1 docs: source for nw app Change-Id: If50f407a0e56fa802fe9beedaa650e3a131872b2
am
6a3faf5a: Merge "Fix test framework to allow Mockito tests to run successfully on ART." into lmp-dev
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%