summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-10-27 05:35:27 +0000
committerRiddle Hsu <riddlehsu@google.com>2020-10-27 05:45:42 +0000
commit922079e2a49c1d11853f14f57742db52b1749946 (patch)
treed5cbe91acc553512a300eefc516604f2a1021349 /rs/java/android/renderscript/ProgramStore.java
parentd92b3605bc1420e4c13a23cd82988e5bbe10bbd2 (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 d92b3605bc1420e4c13a23cd82988e5bbe10bbd2. Reason for revert: The original patch is no problem Bug: 171549711 Test: ActivityMetricsLaunchObserverTests#testOnActivityLaunchFinished Change-Id: I2b8e45ddfd76ce4fb0fdb0c244a8f4170fbabd21
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions