mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 23:20:32 +00:00
adapt window param change for stop boot animation
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com> Change-Id: I6d76a8dc10b40f965fbc47d67bc4efe76d7eea1c
This commit is contained in:
parent
be4a9c3cee
commit
751870bde7
@ -212,10 +212,10 @@ void BootAnimation::CheckExitAnimation()
|
||||
system::SetParameter("bootevent.bootanimation.started", "true");
|
||||
setBootEvent_ = true;
|
||||
}
|
||||
std::string windowInit = system::GetParameter("persist.window.boot.inited", "0");
|
||||
if (windowInit == "1") {
|
||||
std::string windowInit = system::GetParameter("bootevent.wms.fullscreen.ready", "false");
|
||||
if (windowInit == "true") {
|
||||
PostTask(std::bind(&AppExecFwk::EventRunner::Stop, runner_));
|
||||
LOGI("CheckExitAnimation read windowInit is 1");
|
||||
LOGI("CheckExitAnimation read windowInit is true");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,8 @@
|
||||
}, {
|
||||
"name" : "bootanimation",
|
||||
"path" : ["/system/bin/bootanimation"],
|
||||
"bootevents": "bootevent.bootanimation.started",
|
||||
"importance" : -20,
|
||||
"once" : 1,
|
||||
"uid" : "graphics",
|
||||
"gid" : ["graphics", "system", "shell", "uhid", "root"],
|
||||
|
Loading…
Reference in New Issue
Block a user