From b0d9b8ddcdefe98fab946c8635a076328406555a Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 16 Jan 2023 10:47:08 -0500 Subject: [PATCH] Update android const correctness/overrides after #24355 (#24448) --- examples/tv-app/android/java/TVApp-JNI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tv-app/android/java/TVApp-JNI.cpp b/examples/tv-app/android/java/TVApp-JNI.cpp index 405554e073f950..a8eeba37344923 100644 --- a/examples/tv-app/android/java/TVApp-JNI.cpp +++ b/examples/tv-app/android/java/TVApp-JNI.cpp @@ -201,7 +201,7 @@ MyPincodeService gMyPincodeService; class MyPostCommissioningListener : public PostCommissioningListener { void CommissioningCompleted(uint16_t vendorId, uint16_t productId, NodeId nodeId, Messaging::ExchangeManager & exchangeMgr, - SessionHandle & sessionHandle) override + const SessionHandle & sessionHandle) override { // read current binding list chip::Controller::BindingCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); @@ -296,7 +296,7 @@ class MyPostCommissioningListener : public PostCommissioningListener } void cacheContext(uint16_t vendorId, uint16_t productId, NodeId nodeId, Messaging::ExchangeManager & exchangeMgr, - SessionHandle & sessionHandle) + const SessionHandle & sessionHandle) { mVendorId = vendorId; mProductId = productId;