当前位置:网站首页>Launcher startup process
Launcher startup process
2022-07-02 13:57:00 【xhBruce】
Launcher The boot process
Android The system starts
SystemServer process
AMS:ActivityManagerService start-up
Sequence diagram

Judge TaskDisplayArea

getDefaultTaskDisplayArea() Judge
frameworks/base/services/core/java/com/android/server/wm/ActivityTaskManagerService.java
getHomeIntent() This is the traditional Launcher start-up .
shouldPlaceSecondaryHomeOnDisplayArea(taskDisplayArea) Judge

ActivityStartController.startHomeActivity()
frameworks/base/services/core/java/com/android/server/wm/ActivityStartController.java
frameworks/base/services/core/java/com/android/server/wm/ActivityTaskSupervisor.java
Namely Activity Start process , Final :
mService.startProcessAsync(r, knownToBeDead, isTop, isTop ? "top-activity" : "activity");fork Desktop processrealStartActivityLocked(r, wpc, andResume, checkConfig);Really start Launcher
边栏推荐
- Codeforces Round #803 (Div. 2)(A~D)
- Download files and preview pictures
- Halcon extract orange (Orange)
- [Unity]使用GB2312,打包后程序不正常解决方案
- BeanUtils -- shallow copy -- example / principle
- A better database client management tool than Navicat
- Quantum three body problem: Landau fall
- Dingtalk 发送消息
- rxjs Observable 自定义 Operator 的开发技巧
- 全屋Wi-Fi:一个谁也解决不好的痛点?
猜你喜欢

Design of non main lamp: how to make intelligent lighting more "intelligent"?
【文档树、设置】字体变小

QT new project_ MyNotepad++

自定义事件,全局事件总线,消息订阅与发布,$nextTick

无主灯设计:如何让智能照明更加「智能」?

Simple introduction to ENSP

Find love for speed in F1 delta time Grand Prix

I did it with two lines of code. As a result, my sister had a more ingenious way

Mysql5.7 installation super easy tutorial

Skillfully use SSH to get through the Internet restrictions
随机推荐
[document tree, setting] font becomes smaller
Explanation of 34 common terms on the Internet
What are the classifications of SSL certificates? How to choose the appropriate SSL certificate?
题解《子数整数》、《欢乐地跳》、《开灯》
Everyone believes that the one-stop credit platform makes the credit scenario "useful"
Sum of the first n terms of Fibonacci (fast power of matrix)
P1347 排序(拓扑 + spfa判断环 or 拓扑[内判断环])
量子三体问题: Landau Fall
BeanUtils -- shallow copy -- example / principle
[template] longest common subsequence ([DP or greedy] board)
Dingtalk 发送消息
(POJ - 1984) navigation nightare (weighted and search set)
Mysql5.7 installation super easy tutorial
Codeforces Round #803 (Div. 2)(A~D)
Halcon extract orange (Orange)
D如何检查null
题解:《你的飞碟在这儿》、《哥德巴赫猜想》
[usaco05jan]watchcow s (Euler loop)
Téléchargement par navigateur
Find love for speed in F1 delta time Grand Prix