summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2021-08-02 18:25:56 +0800
committerwilsonshih <wilsonshih@google.com>2022-01-03 20:44:13 +0800
commit796d6d3ce9eea88f0b85882f339b6118947c85e3 (patch)
tree18b97d6572f973a1992fe06dcbaf4100704cd636 /core/java/android/util/SparseArrayMap.java
parentbf666289d7f669d54ea617f9c74838b3ca7c18f2 (diff)
Deferring add splash screen window when launch with startActivities
There should only need to create one splash screen window for the top activity when launch with startActivities, but there would create starting window for each activities and make extra calls to WMShell, which is not necessary, so we can queueing the status and activities while startActivities, and use the status to create a starting window to the top-most activity. This also fix the other limitation that ActivityOptions can only apply to the top activity. Bug: 194367428 Bug: 203497083 Test: atest ActivityRecordTests ActivityStarterTests Test: atest SplashscreenTests Test: verify launch app with startActivities and WMShell should only receive one addStartingWindow request. Change-Id: I759da20e585f54a6e86e20153c2b4aa35017c1f6
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions