当前位置:网站首页>Framework定制系列(六)-----屏蔽FallbackHome手机启动中弹窗直接进入Launcher
Framework定制系列(六)-----屏蔽FallbackHome手机启动中弹窗直接进入Launcher
2022-07-28 14:38:00 【丨刘一丨】
1.屏蔽FallbackHome启动弹窗
问题场景:Android系统定制中去除锁屏KeyGuard服务之后,在系统开机进入Launcher之前,会有手机正在启动中弹窗,这部分主要涉及Settings中的FallbackHome,解决方案如下:
2. 延长开机动画
代码路径: framework/services/core/java/com/android/server/wm/WindowManagerService.java
//注释掉关闭开机动画这段代码
/* 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 &边栏推荐
- flowable工作流所有业务概念
- Pytorch - sequential and modulelist
- 软件架构与设计(六)-----层次结构体
- 机器学习的3大“疑难杂症”,因果学习是突破口 | 重庆大学刘礼
- Rongyun real-time community solution
- Pycharm - output exception of program run and default comment of added function
- Multithreading
- Five connection modes of QT signal and slot
- Introduction to grpc
- 软件架构与设计(十)-----架构技术
猜你喜欢

ECCV 2022 | ssp: a new idea of small sample tasks with self-supporting matching

MIT pointed out that the public pre training model should not be used indiscriminately

Grpc protocol buffer

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

【通道注意力机制】SENet

About how Simulink generates model coverage reports

No files or folders found to process

融云实时社区解决方案

DataTables warning: table id=campaigntable - cannot reinitialize datatable. solve

使用Mock技术帮助提升测试效率的小tips,你知道几个?
随机推荐
7、实时数据备份和实时时钟相关定义
Pytorch - autograd automatic differentiation
9. Related data accumulation task definition
Leetcode - number of operations, non repeating numbers, diagonal traversal, Joseph Ring
Chrome plug-in debugging
Endnote 与word关联
Summary of common redis commands (self provided)
10、相关数据累积任务实现
3、基本常数和宏定义
sql语句的执行流程
How many tips do you know about using mock technology to help improve test efficiency?
Rongyun real-time community solution
NFTScan 与 NFTPlay 在 NFT 数据领域达成战略合作
Share the HR experience of the first and second tier companies
3. Basic constants and macro definitions
Close independent windows and close other windows at the same time
File and directory operations (5)
融云实时社区解决方案
全国985院校考研信息汇总整理
4.8 HD-GR GNSS导航软件源码