Skip to content

Commit bd4d4f3

Browse files
restyled-commitslazarkov
authored andcommitted
Restyled by whitespace
1 parent 85ae3ea commit bd4d4f3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

examples/tv-app/android/java/application-launcher/ApplicationLauncherManager.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void ApplicationLauncherManager::HandleLaunchApp(CommandResponseHelper<LauncherR
116116

117117
env->ExceptionClear();
118118

119-
{
119+
{
120120
// UtfString accepts const char * data
121121
chip::UtfString jByteData(env, reinterpret_cast<const char*>(data.data()));
122122

@@ -126,7 +126,7 @@ void ApplicationLauncherManager::HandleLaunchApp(CommandResponseHelper<LauncherR
126126
jobject appObject = env->NewObject(mApplicationClass, mCreateApplicationMethod, static_cast<jint>(application.catalogVendorID), jappId.jniValue());
127127
VerifyOrReturn(appObject != nullptr, ChipLogError(Zcl, "Failed to create Application object"));
128128

129-
jobject resp = env->CallObjectMethod(mApplicationLauncherManagerObject.ObjectRef(), mLaunchAppMethod, appObject,
129+
jobject resp = env->CallObjectMethod(mApplicationLauncherManagerObject.ObjectRef(), mLaunchAppMethod, appObject,
130130
jByteData.jniValue());
131131
if (env->ExceptionCheck())
132132
{
@@ -177,7 +177,7 @@ void ApplicationLauncherManager::HandleStopApp(CommandResponseHelper<LauncherRes
177177

178178
env->ExceptionClear();
179179

180-
{
180+
{
181181
chip::UtfString jappId(env, application.applicationID);
182182

183183
// Create an instance of Application
@@ -234,7 +234,7 @@ void ApplicationLauncherManager::HandleHideApp(CommandResponseHelper<LauncherRes
234234

235235
env->ExceptionClear();
236236

237-
{
237+
{
238238
chip::UtfString jappId(env, application.applicationID);
239239

240240
// Create an instance of Application
@@ -334,4 +334,4 @@ void ApplicationLauncherManager::InitializeWithObjects(jobject managerObject)
334334
ChipLogError(Zcl, "Failed to find constructor of Application Java class");
335335
env->ExceptionClear();
336336
}
337-
}
337+
}

examples/tv-app/android/java/src/com/matter/tv/server/tvapp/ApplicationLauncherManager.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@ public interface ApplicationLauncherManager {
44

55
/**
66
* Return a list of available catalogs
7-
*
7+
*
88
* @return list of int
99
*/
1010
int[] getCatalogList();
1111

1212
/**
1313
* Launch an app
14-
*
15-
* @param app that you want to launch
14+
*
15+
* @param app that you want to launch
1616
* @param data to send addditional data if needed
17-
* @return launcher response with status
17+
* @return launcher response with status
1818
*/
1919
LauncherResponse launchApp(Application app, String data);
2020

2121
/**
2222
* Stop an app
23-
*
23+
*
2424
* @param app that you want to stop
2525
* @return launcher response with status
2626
*/
2727
LauncherResponse stopApp(Application app);
2828

2929
/**
3030
* hide an app
31-
*
31+
*
3232
* @param app that you want to hide
3333
* @return launcher response with status
3434
*/

0 commit comments

Comments
 (0)