mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
- The launcher package is automatically enabled for work profiles due to DPM interpreting it as a critical component since it does not have any launchable activities. Once enabled, it is possible for an explicit broadcast to update smartspace or assistant state to trigger the process to be created for the work profile user, which ends up initializing logic which may call into LauncherApps (which is not allowed from the work profile). As a workaround, we disable the launcher application immediately upon detecting that it is running in a work profile. Bug: 120550382 Change-Id: I72c52fe598d41440a1fb59304b494a000277384b