summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorp13451 <cheoloh.park@gmail.com>2012-04-18 11:39:23 +0900
committerp13451 <cheoloh.park@gmail.com>2012-04-20 09:21:08 +0900
commitdbad287b62966399d0d5029f3b10932895010337 (patch)
tree3acb265b26f5993f6e0a6472668f32ffd17a68ef /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent544f89aece46e8f4bbe4eed93116c8736e68ac07 (diff)
Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode.
Step to Reproduce 1) Turn off device’s screen. (Sleep mode) 2) Kill any process. A. Engineer Version: kill [PID] B. User Version: am force-stop [Package Name] 3) Foreground activity proceed [Resume] and [Pause] consecutively. Reason: Since ICS version, activity goes to stopped status when screen turns off. stopIfSleepingLocked( ) makes activity to stopped status but, pauseIfSleepingLocked( ) was used in GB and, activity keep paused status and, this problem did not occur. This change give effect to resuming activity when any process was killed. Because, resume is proceed without exception for activity status. The exception only filtered for [ActivityState.PAUSED] in sleep or shutdown mode. and, resume complete flow when activity status was [ActivityState.STOPPED]. Solution for this issue: We think that exception’s condition have to change if stopped activity status is intended in sleep mode. According to activity life cycle, activity can not resume from stop status. Also check [ActivityState.STOPPING]. :) Change-Id: Icca3366ac30ffa3b18f6e2393e4d7309089ef26a
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions