Disable boot animation

This commit is contained in:
Simon Fels 2016-11-11 11:45:53 +01:00
commit 914fcdf101
2 changed files with 5 additions and 0 deletions

View file

@ -28,6 +28,8 @@ std::string get_package_name(const std::string &name) {
bool is_layer_blacklisted(const std::string &name) { bool is_layer_blacklisted(const std::string &name) {
static std::vector<std::string> blacklist = { 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", "BootAnimation",
"StatusBar", "StatusBar",
"Sprite", "Sprite",

View file

@ -69,6 +69,9 @@ void BootPropertiesMessageProcessor::list_properties() {
// To let surfaceflinger load our hwcomposer implementation we specify // To let surfaceflinger load our hwcomposer implementation we specify
// the correct subkey of the module here. // the correct subkey of the module here.
"ro.hardware.hwcomposer=anbox" "ro.hardware.hwcomposer=anbox"
// Keep boot animation disabled as we don't need it
"debug.sf.nobootanimation=1",
}; };
for (const auto &prop : properties) { for (const auto &prop : properties) {