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

Skip to content
Commit 29671823 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Remove nested repeatOnLifecycle calls

The nested repeatOnLifecycle calls caused the flow collectors to increase with every repetition of the lifecycle. This had significant performance impact, mainly on the onStop lifecycle callback duration. CustomizationPickerActivity onStop could take 200ms or more whereas with this fix it is mostly below 20ms.

Bug: 281021563
Test: Manual, i.e. measuring Activity onStop duration with logs and perfetto
Change-Id: Ic2ad4f6ff8188304092deab17bd3739c564004b1
parent 49493200
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