mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-19 17:08:11 -04:00
repair code warning
Signed-off-by: luwei <luwei51@huawei.com> Change-Id: I5a3f1d469092cff4f459b09d4cb54553d2dd3fb1
This commit is contained in:
@@ -419,7 +419,7 @@ void AbstractDisplayController::AddDisplayForExpandScreen(sptr<AbstractScreen> a
|
||||
return;
|
||||
}
|
||||
}
|
||||
WLOGI("screenId: %{public}" PRIu64" has no corresponding display, create new dispaly.",
|
||||
WLOGI("screenId: %{public}" PRIu64" has no corresponding display, create new display.",
|
||||
absScreen->dmsId_);
|
||||
AddScreenToExpandLocked(absScreen);
|
||||
}
|
||||
|
||||
@@ -263,7 +263,7 @@ std::shared_ptr<Media::PixelMap> DisplayManagerProxy::GetDisplaySnapshot(Display
|
||||
}
|
||||
|
||||
if (!data.WriteUint64(displayId)) {
|
||||
WLOGFE("Write dispalyId failed");
|
||||
WLOGFE("Write displayId failed");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user