@@ -44,8 +44,8 @@ void ApplicationLauncherManager::HandleLaunchApp(CommandResponseHelper<LauncherR
44
44
// TODO: Insert code here
45
45
LauncherResponseType response;
46
46
const char * buf = " data" ;
47
- response.data = ByteSpan (from_const_char (buf), strlen (buf));
48
- response.status = ApplicationLauncherStatusEnum::kSuccess ;
47
+ response.data . SetValue ( ByteSpan (from_const_char (buf), strlen (buf) ));
48
+ response.status = ApplicationLauncherStatusEnum::kSuccess ;
49
49
helper.Success (response);
50
50
}
51
51
@@ -57,8 +57,8 @@ void ApplicationLauncherManager::HandleStopApp(CommandResponseHelper<LauncherRes
57
57
// TODO: Insert code here
58
58
LauncherResponseType response;
59
59
const char * buf = " data" ;
60
- response.data = ByteSpan (from_const_char (buf), strlen (buf));
61
- response.status = ApplicationLauncherStatusEnum::kSuccess ;
60
+ response.data . SetValue ( ByteSpan (from_const_char (buf), strlen (buf) ));
61
+ response.status = ApplicationLauncherStatusEnum::kSuccess ;
62
62
helper.Success (response);
63
63
}
64
64
@@ -70,7 +70,7 @@ void ApplicationLauncherManager::HandleHideApp(CommandResponseHelper<LauncherRes
70
70
// TODO: Insert code here
71
71
LauncherResponseType response;
72
72
const char * buf = " data" ;
73
- response.data = ByteSpan (from_const_char (buf), strlen (buf));
74
- response.status = ApplicationLauncherStatusEnum::kSuccess ;
73
+ response.data . SetValue ( ByteSpan (from_const_char (buf), strlen (buf) ));
74
+ response.status = ApplicationLauncherStatusEnum::kSuccess ;
75
75
helper.Success (response);
76
76
}
0 commit comments