Skip to content

Commit

Permalink
WindowManager: Offload WM shell to another thread
Browse files Browse the repository at this point in the history
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.

Change-Id: I628567cc577f797d0858e1fb1c61a60bc0b1ee93
Signed-off-by: Richard Raya <[email protected]>
  • Loading branch information
kdrag0n authored and fazilsheik96 committed Feb 27, 2025
1 parent ddd0b75 commit 0491853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/WindowManager/Shell/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<resources>
<!-- Determines whether the shell features all run on another thread. This is to be overrided
by the resources of the app using the Shell library. -->
<bool name="config_enableShellMainThread">false</bool>
<bool name="config_enableShellMainThread">true</bool>

<!-- Determines whether to register the shell task organizer on init.
TODO(b/238217847): This config is temporary until we refactor the base WMComponent. -->
Expand Down

0 comments on commit 0491853

Please sign in to comment.