modify screen codex

Signed-off-by: qinlong0101 <qinlong15@huawei.com>
This commit is contained in:
qinlong0101
2022-05-19 14:31:11 +08:00
parent 595ac40371
commit 39afcbb1a8
2 changed files with 4 additions and 4 deletions
@@ -97,8 +97,8 @@ void ScreenRegionManager::GetScreenDumpInfo(std::string &result)
if (videoParam == nullptr) {
continue;
}
int32_t screenHeight = videoParam->GetScreenHeight();
int32_t screenWidth = videoParam->GetScreenWidth();
uint32_t screenHeight = videoParam->GetScreenHeight();
uint32_t screenWidth = videoParam->GetScreenWidth();
int32_t windowId = screenRegion->GetWindowId();
std::string screenInfo = " \"clientWindowId\" : \"" + std::to_string(windowId) + "\",\n" +
" \"remoteScreenId\" : \"" + std::to_string(screenId) + "\",\n" +
@@ -329,8 +329,8 @@ void DScreenManager::GetScreenDumpInfo(std::string &result)
if (videoParam == nullptr) {
continue;
}
int32_t screenHeight = videoParam->GetScreenHeight();
int32_t screenWidth = videoParam->GetScreenWidth();
uint32_t screenHeight = videoParam->GetScreenHeight();
uint32_t screenWidth = videoParam->GetScreenWidth();
DScreenState state = dScreen->GetState();
std::string screenState =
stateMap.find(state) == stateMap.end() ? "unknown state" : stateMap.find(state)->second;