@@ -116,7 +116,7 @@ void ApplicationLauncherManager::HandleLaunchApp(CommandResponseHelper<LauncherR
116
116
117
117
env->ExceptionClear ();
118
118
119
- {
119
+ {
120
120
// UtfString accepts const char * data
121
121
chip::UtfString jByteData (env, reinterpret_cast <const char *>(data.data ()));
122
122
@@ -126,7 +126,7 @@ void ApplicationLauncherManager::HandleLaunchApp(CommandResponseHelper<LauncherR
126
126
jobject appObject = env->NewObject (mApplicationClass , mCreateApplicationMethod , static_cast <jint>(application.catalogVendorID ), jappId.jniValue ());
127
127
VerifyOrReturn (appObject != nullptr , ChipLogError (Zcl, " Failed to create Application object" ));
128
128
129
- jobject resp = env->CallObjectMethod (mApplicationLauncherManagerObject .ObjectRef (), mLaunchAppMethod , appObject,
129
+ jobject resp = env->CallObjectMethod (mApplicationLauncherManagerObject .ObjectRef (), mLaunchAppMethod , appObject,
130
130
jByteData.jniValue ());
131
131
if (env->ExceptionCheck ())
132
132
{
@@ -177,7 +177,7 @@ void ApplicationLauncherManager::HandleStopApp(CommandResponseHelper<LauncherRes
177
177
178
178
env->ExceptionClear ();
179
179
180
- {
180
+ {
181
181
chip::UtfString jappId (env, application.applicationID );
182
182
183
183
// Create an instance of Application
@@ -234,7 +234,7 @@ void ApplicationLauncherManager::HandleHideApp(CommandResponseHelper<LauncherRes
234
234
235
235
env->ExceptionClear ();
236
236
237
- {
237
+ {
238
238
chip::UtfString jappId (env, application.applicationID );
239
239
240
240
// Create an instance of Application
@@ -334,4 +334,4 @@ void ApplicationLauncherManager::InitializeWithObjects(jobject managerObject)
334
334
ChipLogError (Zcl, " Failed to find constructor of Application Java class" );
335
335
env->ExceptionClear ();
336
336
}
337
- }
337
+ }
0 commit comments