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

Skip to content
Commit 131356a8 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato
Browse files

Fix context and resources used for keyguard presentation

This avoids creating a new context if the default context in the dagger graph is already the correct one for the display in the scope.

Before this cl, a new context was created also for the default display, and it had the wrong android.R.attr.isLightTheme value.

Ideally we should use the DisplaySpecific context in ClockEventController as well, but we first need to fix isLightTheme wrong value in the new display specific context.

Test: Manually check clocks colors + KeyguardClockSwitchScreenshotTest
Bug: 299256162
Change-Id: I942c8e35a644df27a6f442d7eddf8a2a767765be
parent f9a6b1a7
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