Android 12 system source code_SystemUI (6) Send a message to Launcher3 to display the list of recent applications

foreword

Android12 has made adjustments to the recent application list, and transferred the recent application list originally in the SystemUI module in the same version to the Launcher3QuickStep application.
In this article, we will combine the source code to sort out the display process of the recent application list, so as to better understand how the SystemUI module sends messages to the Launcher3 module.

1. The SystemUI module displays the relevant code of the recent application list

1. Call the showRecentApps method of CommandQueue in the SystemUI module to display the recent application list.

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java

public class CommandQueue extends IStatusBar.Stub implements
        CallbackController<Callbacks

Guess you like

Origin blog.csdn.net/abc6368765/article/details/129360597