diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-06-04 00:42:31 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-06-07 05:25:45 +0000 |
commit | faf29141fcbd0b9a6ff2119b82bea51fbfedd8af (patch) | |
tree | 75c1a869495db2f20ad5e89348aa48d818a23d9f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d52baf860c774b3386f59230574d2e3f7a6a7de7 (diff) |
Discard invisible pending draw activity if transition starts
A launching activity may never have visibility set. If another
drawn activity in the same launch sequence can trigger to start
transition, the launch event should still be done successfully.
E.g. warm launch from notification with a trampoline activity.
The trampoline activity keeps the initial invisible state
because lockscreen hasn't gone. And only the target activity will
be set to visible and drawn to start transition.
Fixes: 189882294
Test: atest ActivityMetricsLaunchObserverTests# \
testDoNotCountInvisibleActivityToBeDrawn
Change-Id: I1cd5d016c70e5f7865d3d44c8d7ceaa97d5a34ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions