Settings(二) FallbackHome 介绍

一 、背景

当时遇到定制需求把刚开机时显示的 Device is starting 去掉。

二、准备工作

首先确认在哪个模块。当时第一反应实在launcher,结果搜索了一通没找到。这里特别说明一下 这个透明的界面叫 FallbackHome 在Settings 里。
下面贴上对应的代码,可以大概看一下实现
packages\apps\Settings\src\com\android\settings\FallbackHome.java

/*
 * Copyright (C) 2015 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under 

你可能感兴趣的:(Android10,ROM定制,ROM定制)