summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-10-27 05:31:45 +0000
committerRiddle Hsu <riddlehsu@google.com>2020-10-27 05:46:10 +0000
commite87e763d2fe3ece46029278585e1e133ca4b4958 (patch)
treebf3502b8afa460dc648670c0c0901dfb3df0b31f /rs/java/android/renderscript/ProgramStore.java
parent3a1f6225c29136292f087a131250d730c2712695 (diff)
Reland "Distinguish warm/hot launch by whether the activity has attached process"
If the process of an activity was died in background, its activity and task record will still be in history stack. If the process is started again in background such as receiving broadcast. Then the launch of the same activity will have the conditions: process exists and the result code is START_TASK_TO_FRONT. But the activity still need to create so it should be warm launch. This reverts commit 3a1f6225c29136292f087a131250d730c2712695. Reason for revert: remove redundant "notifyWindowsDrawn(mTopActivity)" in test case that was missed when resolving conflict. Bug: 171549711 Test: ActivityMetricsLaunchObserverTests#testOnActivityLaunchFinished Change-Id: I43625184392c22e6769a147beda4817f70afcf9a Merged-In: I2b8e45ddfd76ce4fb0fdb0c244a8f4170fbabd21
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions