Disable boot animation
This commit is contained in:
parent
0ee3c3aad9
commit
914fcdf101
2 changed files with 5 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ std::string get_package_name(const std::string &name) {
|
|||
|
||||
bool is_layer_blacklisted(const std::string &name) {
|
||||
static std::vector<std::string> blacklist = {
|
||||
// The boot animation should be disabled already but we blacklist it
|
||||
// here too to ensure it is never visible.
|
||||
"BootAnimation",
|
||||
"StatusBar",
|
||||
"Sprite",
|
||||
|
|
|
|||
|
|
@ -69,6 +69,9 @@ void BootPropertiesMessageProcessor::list_properties() {
|
|||
// To let surfaceflinger load our hwcomposer implementation we specify
|
||||
// the correct subkey of the module here.
|
||||
"ro.hardware.hwcomposer=anbox"
|
||||
|
||||
// Keep boot animation disabled as we don't need it
|
||||
"debug.sf.nobootanimation=1",
|
||||
};
|
||||
|
||||
for (const auto &prop : properties) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue