Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 86cb7ded authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Simplify getting top display focused stack

Change the container of ActivityDisplay to a list sorted by
z-order. The list will be updated when moving window container
with its parent that includes display to top or bottom.

Count the total time of calling getTopDisplayFocusedStack
until boot complete broadcast is done (about 4500 times):
  Original: 447 ms
  New     : 116 ms (include the update time)

Bug: 112531182
Test: atest FrameworksServicesTests:ActivityStackSupervisorTests
Test: atest WindowManagerSmokeTest
Test: atest ActivityManagerMultiDisplayTests

Change-Id: I42e9fc61916d0513d3e7b340fd528bc4f560fd45
parent 589ce41d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment