summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-10-23 20:34:24 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-10-26 09:59:59 +0000
commit20efc15caa32eb758d954a2310a873f7283cbd2e (patch)
treeace67f2cfd3510b51e137b3b69cd37ad39185fbe /rs/java/android/renderscript/ProgramStore.java
parent44889fb4271ae82dab38c1af3aaf996736ad32da (diff)
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. Fixes: 171549711 Test: ActivityMetricsLaunchObserverTests#testOnActivityLaunchFinished Change-Id: Iaf53ab8a35192249c20a73d9cb0de2a5e8effc64 Merged-In: Iaf53ab8a35192249c20a73d9cb0de2a5e8effc64 (cherry picked from commit 2e039cd3bc020a4d0c5831f945d42e162b9ad5e4)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions