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

Commit f2248c3a authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Fix recursive loop in DisplayComponent lifecycle listeners

DisplayComponentInstanceProviderTest was calling the lifecycle "start" method during the instance creation, but the start method was trying to access the instance itself, causing a recursive loop.

This adds another callback to initialize the instance after it is created and cached.

Bug: 433203587
Flag: NONE - bugfix
Test: PerDisplayInstanceRepositoryImplTest, DisplayComponentInstanceProviderTest
Change-Id: I44859166c8f22ff63459236efc16c3ef4fb48d0a
parent 73a41ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment