mirror of
https://github.com/openharmony/distributed_screen.git
synced 2026-07-19 17:04:08 -04:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user