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

Commit c8b6f22a authored by Piyush Singhania's avatar Piyush Singhania
Browse files

Fix: Fix excessive binder calls in SystemUI.

The updateAvailableAppsAndShortcutsAsync() method in LaunchApp.kt
made excessive API calls, causing high system load.

A loop repeatedly invoked getIntentForIntentSender() and other APIs,
leading to increased binder calls.

To optimize, server-side aggregation was implemented in LauncherAppsService,
consolidating multiple requests into a single operation.

This significantly reduces performance overhead and system load.

Flag: android.app.optimize_get_apps_and_shortcuts
Test: atest LauncherAppsTest
Bug: 364133831
Change-Id: Id7f7e309f5dafb518f63370aed473276a920e886
parent f88743fc
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