mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-22 23:00:31 +00:00
add param for boot animation
Signed-off-by: weimingjin <weimingjin@huawei.com>
This commit is contained in:
parent
726b1ccf3d
commit
d1cb48e7a7
@ -14,4 +14,5 @@
|
||||
const.bms.optimizing_apps.switch = foundation:foundation:0755
|
||||
bms.optimizing_apps.status = 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
|
||||
|
@ -209,6 +209,9 @@ void BMSEventHandler::BeforeBmsStart()
|
||||
}
|
||||
|
||||
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()
|
||||
@ -295,6 +298,9 @@ void BMSEventHandler::AfterBmsStart()
|
||||
BundleResourceHelper::RegisterConfigurationObserver();
|
||||
ProcessCheckAppEl1Dir();
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user