mirror of
https://github.com/openharmony/distributed_screen.git
synced 2026-07-21 04:25:28 -04:00
modify gn format
Signed-off-by: gaoqiang_strong <gaoqiang64@huawei.com>
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ int32_t DScreenSourceCallbackStub::OnNotifyUnregResultInner(MessageParcel &data,
|
||||
std::string reqId = data.ReadString();
|
||||
int32_t status = data.ReadInt32();
|
||||
std::string resultData = data.ReadString();
|
||||
int32_t ret = OnNotifyRegResult(devId, dhId, reqId, status, resultData);
|
||||
int32_t ret = OnNotifyUnregResult(devId, dhId, reqId, status, resultData);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -279,7 +279,6 @@ void DScreen::HandleDisable(const std::string &taskId)
|
||||
{
|
||||
DHLOGI("HandleDisable, devId: %s, dhId: %s", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str());
|
||||
SetState(DISABLING);
|
||||
Stop();
|
||||
int32_t ret = ScreenMgrAdapter::GetInstance().RemoveVirtualScreen(screenId_);
|
||||
if (ret != DH_SUCCESS) {
|
||||
DHLOGE("remove virtual screen failed.");
|
||||
|
||||
Reference in New Issue
Block a user