mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 22:54:50 -04:00
开启绘制布局边界改成property
Signed-off-by: xiexiyun <xiexiyun@huawei.com> Change-Id: Ib2629c7e461c613f4673c96c23d0ca7236cb3973
This commit is contained in:
@@ -56,6 +56,12 @@ bool IsTraceEnabled()
|
||||
|
||||
bool IsDebugBoundaryEnabled()
|
||||
{
|
||||
if (system::GetParameter("persist.ace.rosen.debug.boundary.enabled", "0") == "1") {
|
||||
return true;
|
||||
}
|
||||
if (system::GetParameter("persist.ace.rosen.debug.boundary.enabled", "0") == "2") {
|
||||
return false;
|
||||
}
|
||||
return access(ENABLE_DEBUG_BOUNDARY_FILE_PATH, F_OK) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user