summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2021-05-19 13:10:27 +0800
committerwilsonshih <wilsonshih@google.com>2021-05-19 14:04:08 +0800
commitde35559cb1b08790d54ea59420a0778e58b7cc69 (patch)
tree6ba028b61370116bddbe2ad353bdf7a23fd3e26e /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent4d225a0e3ca644f61864a09a381c3a4e5a0c2ee2 (diff)
Prevent the splashscreenview be replaced after transfer starting window
The splashscreenview can be replaced if starting window was transferred and the first starting window didn't added success. There should verify the appToken before setViewSynchronized set the splashscreenview back to the container. Issue sequence: - Start first activity A, core request to add a starting window for it. - Start second activity B, core try to transfer starting window from A to B but since the window haven't added back, there will trigger to add a new starting window for B. - SystemUI add starting window to A but added fail because there was transferred. - SystemUI add starting window to B, success. - Choreographer post setViewSynchronized to add view for A and B to the container, because we only verify by taskId, so the SplashscreenView was overwrite by A. - After reveal animation finish, SplashScreenView#post will not be executed because this view was not on screen. Fixes: 188540606 Test: atest StartingSurfaceDrawerTests Test: Open twitter from notification. Change-Id: I894da75827556d3c1bc8bb0656196102de5a6847
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions