当前位置:网站首页>Framework customization series (VI) -- shield fallbackhome mobile phone from pop-up during startup and directly enter the launcher
Framework customization series (VI) -- shield fallbackhome mobile phone from pop-up during startup and directly enter the launcher
2022-07-28 15:43:00 【Liu Yiyi】
1. shielding FallbackHome Start Popup
Problem scenario :Android Remove lock screen in system customization KeyGuard After the service , When the system is powered on, enter Launcher Before , There will be a pop-up window when the mobile phone is starting , This part mainly involves Settings Medium FallbackHome, The solution is as follows :
2. Extended boot animation
Code path : framework/services/core/java/com/android/server/wm/WindowManagerService.java
// Comment out the code that turns off the startup animation
/* if (!mBootAnimationStopped) {
Trace.asyncTraceBegin(TRACE_TAG_WINDOW_MANAGER, "Stop bootanim", 0);
// stop boot animation
// formerly we would just kill the process, but we now ask it to exit so it
// can choose where to stop the animation.
SystemProperties.set("service.bootanim.exit", "1");
mBootAnimationStopped = true;
}
if (!mForceDisplayEnabled && !checkBootAnimationCompleteLocked()) {
if (DEBUG_BOOT) Slog.i(TAG_WM, "performEnableScreen: Waiting for anim complete");
return;
}
try {
IBinder surfaceFlinger &边栏推荐
- 有道云笔记去除底部广告
- Baidu proposes a dynamic self distillation method to realize dense paragraph retrieval by combining interactive model and double tower model
- Summary and arrangement of postgraduate entrance examination information of 211 colleges and universities nationwide
- 软件架构与设计(一)-----关键原则
- Endnote is associated with word
- 4、主程序和累积中断处理例程实现代码
- Deutsche Telekom denied strengthening its cooperation with Huawei and said it had reduced its cooperation with Huawei in the past three years
- 全国211院校考研信息汇总整理
- 1. Author of the open source GPS project hd-gr GNSS
- samba服务器搭建指南
猜你喜欢

爆肝整理 JVM 十大模块知识点总结,不信你还不懂

Minimum heap improves the efficiency of each sort

Nftscan and nftplay have reached strategic cooperation in the field of NFT data
![【删除指定数字——leetcode]](/img/16/b40492d8414a363a3a24f00b4afd47.png)
【删除指定数字——leetcode]

Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University

Flowable workflow all business concepts

Baidu proposes a dynamic self distillation method to realize dense paragraph retrieval by combining interactive model and double tower model

软件架构与设计(四)-----数据流架构

Summarize the knowledge points of the ten JVM modules. If you don't believe it, you still don't understand it

Pycharm - output exception of program run and default comment of added function
随机推荐
[delete specified number leetcode]
leetcode-括号有效性问题
samba服务器如何配置
关于word文档中插入的图片只显示下面一部分
22、电文处理任务实现
QT refresh UI interface problem
MATLAB不覆盖导入EXCEL
爬虫入门(1)——requests(1)
软件架构与设计(八)-----分布式架构
Voice social system -- improve the audio system industry chain
Leetcode bracket validity problem
Multithreading
Deutsche Telekom denied strengthening its cooperation with Huawei and said it had reduced its cooperation with Huawei in the past three years
语音社交系统——完善有声系统产业链
2. Self narration of open source GPS project hd-gr GNSS
Qt刷新UI界面问题
软件架构与设计(一)-----关键原则
最小堆提升每次排序的效率
Software architecture and design (VIII) -- distributed architecture
Tencent interview -- please design a thread pool to implement sequential execution