summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2019-09-23 11:32:10 +0800
committerLouis Chang <louischang@google.com>2019-09-26 09:57:35 +0800
commit3ee5fc0a35eb517b7f1b2d4f8dbba52d4ba9e474 (patch)
tree380b962f21df7f106acd467ce0a5d15b3d2020cc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente76e96bd1f729c4accdd59230c64a00c23927e99 (diff)
Showing starting window after activity flags applied
Starting window was shown while brought an existing task to front and that had increased Phone hot launch time. Before bde91e9, a single-task activity (like Phone) had the new intent set in earlier flow and the snapshot starting window was not allowed to show if an intent (other than main) had set, see AR#allowTaskSnapshot(). So, there was no starting window during hot launch. Showing starting window after activity flags are applied, where the new intent (if any) were set, and doing so if the task had moved to front. Bug: 141271584 Test: adb shell am instrument -w \ -e class com.android.tests.applaunch.AppLaunch \ -e launch_directory '/storage/emulated/0/Download' \ -e apps 'Phone^Phone' -e trial_launch true -e force_stop_app false \ -e launch_iterations 100 \ com.android.tests.applaunch/android.test.InstrumentationTestRunner Change-Id: Ic87c064840fead057ccc305e5580db1dfa806b33
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions