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

Commit 14a06552 authored by Menghan Li's avatar Menghan Li
Browse files

feat(EDT): Update the force dark theme trigger condition

The original method of observing UiModeManager#ForceInvertChangeListener
led to memory leaks due to frequent activity changes. Switching to a
settings key observer provides a more stable and leak-free solution.

Bug: 368721320
Flag: android.view.accessibility.force_invert_color
Test: atest ViewRootImplTest
Change-Id: I99ea786e393c0945c3a1aee41a1e8240f94223e3
parent 8ea1586b
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