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

Skip to content
Commit 9ef1c177 authored by Archisha Baranwal's avatar Archisha Baranwal
Browse files

Add a binder cache to UiModeManager#getCurrentModeType

Adding a binder cache to UiModeManager#getCurrentModeType(). The cache is
invalidated when the value of current mode type in UiModeManagerService
changes.

Bug: 362572732
Flag: core.java.android.app.UiModeManager.enableCurrentModeTypeBinderCache
Test: UiModeManagerServiceTest

Change-Id: I63cdbe7502cbd0330458325217f01c4340e3489b
parent ca251a4b
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