From 5e9852912a8a5f07f4b74b3b7821caecc0986aa1 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 6 May 2022 20:38:07 +0000 Subject: [PATCH 1/3] Restyled by google-java-format --- .../src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/tv-app/android/java/src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java b/examples/tv-app/android/java/src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java index de397ba9861237..37f87a20024450 100644 --- a/examples/tv-app/android/java/src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java +++ b/examples/tv-app/android/java/src/com/tcl/chip/tvapp/ContentLaunchManagerStub.java @@ -49,11 +49,9 @@ public ContentLaunchResponse launchUrl( return new ContentLaunchResponse( ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Error data in Java"); } else if (url.equals("https://badurl")) { - return new ContentLaunchResponse( - ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Bad URL"); + return new ContentLaunchResponse(ContentLaunchResponse.STATUS_URL_NOT_AVAILABLE, "Bad URL"); } else if (url.equals("https://csa-iot.org/badauth")) { - return new ContentLaunchResponse( - ContentLaunchResponse.STATUS_AUTH_FAILED, "Auth Failed"); + return new ContentLaunchResponse(ContentLaunchResponse.STATUS_AUTH_FAILED, "Auth Failed"); } return new ContentLaunchResponse(ContentLaunchResponse.STATUS_SUCCESS, "Example data in Java"); } From 3709c515babc913bbc7af0c8c0242cb3fdb1a3b3 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 6 May 2022 20:38:08 +0000 Subject: [PATCH 2/3] Restyled by clang-format --- src/controller/CHIPDeviceControllerFactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/CHIPDeviceControllerFactory.h b/src/controller/CHIPDeviceControllerFactory.h index b038453acbeeb4..24eb450b6414a0 100644 --- a/src/controller/CHIPDeviceControllerFactory.h +++ b/src/controller/CHIPDeviceControllerFactory.h @@ -120,7 +120,7 @@ class DeviceControllerFactory ~DeviceControllerFactory(); DeviceControllerFactory(DeviceControllerFactory const &) = delete; - void operator=(DeviceControllerFactory const &) = delete; + void operator=(DeviceControllerFactory const &) = delete; // // Some clients do not prefer a complete shutdown of the stack being initiated if From 26ec8ea40b95a85f053ab5f8f252e37e541e3d8c Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 6 May 2022 20:38:09 +0000 Subject: [PATCH 3/3] Restyled by prettier-markdown --- examples/tv-casting-app/linux/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/tv-casting-app/linux/README.md b/examples/tv-casting-app/linux/README.md index 8e2ed4b82c5bcc..628e4ee7c815b1 100644 --- a/examples/tv-casting-app/linux/README.md +++ b/examples/tv-casting-app/linux/README.md @@ -99,7 +99,7 @@ valid cached fabric will be used. > cast delete-fabric 1 -- Switch to fabric index +- Switch to fabric index > cast set-fabric 1 @@ -116,9 +116,9 @@ the video player (TV). For convenience, when nodeId '0' is used, the tv-casting-app will use the cached nodeId for the video player corresponding to the current fabric. -The tv-casting-app is able to determine the nodeId for the given fabric by -checking its binding table since the video player sets bindings on the -tv-casting-app for each endpoint to which the tv-casting-app is granted access +The tv-casting-app is able to determine the nodeId for the given fabric by +checking its binding table since the video player sets bindings on the +tv-casting-app for each endpoint to which the tv-casting-app is granted access during commissioning. - Run the tv-casting-app and invoke a cluster command using default fabric, @@ -146,7 +146,7 @@ during commissioning. > cast cluster keypadinput send-key 1 0 1 -- Run the tv-casting-app and invoke a cluster command from the shell using +- Run the tv-casting-app and invoke a cluster command from the shell using default fabric, target video player nodeId 0xFFFFFFEFFFFFFFFF > cast cluster keypadinput send-key 1 0xFFFFFFEFFFFFFFFF 1