Skip to content

Commit 5257c14

Browse files
Moved CHIPController loading, added logging for InitChipStack
1 parent 8c0e16d commit 5257c14

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

examples/tv-casting-app/android/App/app/src/main/jni/com/matter/casting/core/CastingApp.java

-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ public MatterError stop() {
161161
System.loadLibrary("TvCastingApp");
162162
System.out.println("TvCastingApp loaded");
163163

164-
System.out.println("CHIPController loading");
165-
System.loadLibrary("CHIPController");
166-
System.out.println("CHIPController loaded");
167164

168165
}
169166
}

examples/tv-casting-app/android/App/app/src/main/jni/com/matter/casting/core/MatterEndpoint.java

+5
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ public void onConnectionFailure(long nodeId, Exception error) {
8686

8787
public void testGetCluster()
8888
{
89+
System.out.println("CHIPController loading");
90+
System.loadLibrary("CHIPController");
91+
System.out.println("CHIPController loaded");
92+
93+
8994
getDeviceProxy(new SuccessCallback<Long>() {
9095
@Override
9196
public void handle(Long deviceProxyPtr) {

src/platform/android/PlatformManagerImpl.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ CHIP_ERROR PlatformManagerImpl::_InitChipStack()
4242
{
4343
CHIP_ERROR err;
4444

45+
ChipLogProgress(NotSpecified, "PlatformManagerImpl::_InitChipStack() called");
46+
4547
// Initialize the configuration system.
4648
err = Internal::AndroidConfig::Init();
4749
SuccessOrExit(err);

0 commit comments

Comments
 (0)