add param for boot animation

Signed-off-by: weimingjin <weimingjin@huawei.com>
This commit is contained in:
weimingjin 2024-11-18 11:20:39 +08:00
parent 726b1ccf3d
commit d1cb48e7a7
2 changed files with 8 additions and 1 deletions

View File

@ -15,3 +15,4 @@ const.bms.optimizing_apps.switch = foundation:foundation:0755
bms.optimizing_apps.status = foundation:foundation:0755 bms.optimizing_apps.status = foundation:foundation:0755
bootevent.bms.main.bundles.ready = foundation:foundation:0755 bootevent.bms.main.bundles.ready = foundation:foundation:0755
persist.bms.data.preload = foundation:foundation:0755 persist.bms.data.preload = foundation:foundation:0755
bms.scanning_apps.status = foundation:foundation:0755

View File

@ -209,6 +209,9 @@ void BMSEventHandler::BeforeBmsStart()
} }
EventReport::SendScanSysEvent(BMSEventType::BOOT_SCAN_START); EventReport::SendScanSysEvent(BMSEventType::BOOT_SCAN_START);
if (SetParameter("bms.scanning_apps.status", "0") != 0) {
LOG_E(BMS_TAG_DEFAULT, "set bms.scanning_apps.status 0 failed");
}
} }
void BMSEventHandler::OnBmsStarting() void BMSEventHandler::OnBmsStarting()
@ -295,6 +298,9 @@ void BMSEventHandler::AfterBmsStart()
BundleResourceHelper::RegisterConfigurationObserver(); BundleResourceHelper::RegisterConfigurationObserver();
ProcessCheckAppEl1Dir(); ProcessCheckAppEl1Dir();
LOG_I(BMS_TAG_DEFAULT, "BMSEventHandler AfterBmsStart end"); LOG_I(BMS_TAG_DEFAULT, "BMSEventHandler AfterBmsStart end");
if (SetParameter("bms.scanning_apps.status", "1") != 0) {
LOG_E(BMS_TAG_DEFAULT, "set bms.scanning_apps.status 1 failed");
}
} }
void BMSEventHandler::ClearCache() void BMSEventHandler::ClearCache()