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

Commit 1b8d8cad authored by Menghan Li's avatar Menghan Li
Browse files

feat(EDT): Add the getForceInvertState API to UiModeManager

Part of the move of the API from ViewRootImpl to UiModeManager.
The logic remains unchained. a new AIDL, IUiModeManagerCallback, was
created to let the service notify all UiModeManagers about force invert
changes, similarly to what was done in ViewRootImpl.

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