Skip to content

Commit b8ad71b

Browse files
authored
Enable HardPrivacy mode in the CameraDevice to enable optional attribute HardPrivacyModeOn. (project-chip#40598)
This is to allow a successful wildcard read of all attributes on the AVSM cluster.
1 parent 661f292 commit b8ad71b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/camera-app/linux/include/camera-device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ class CameraDevice : public CameraDeviceInterface, public CameraDeviceInterface:
194194
CameraError SetSoftLivestreamPrivacyModeEnabled(bool softLivestreamPrivacyMode) override;
195195
bool GetSoftLivestreamPrivacyModeEnabled() override { return mSoftLivestreamPrivacyModeEnabled; }
196196

197-
// Currently, defaulting to not supporting hard privacy switch.
198-
bool HasHardPrivacySwitch() override { return false; }
197+
// Currently, defaulting to supporting hard privacy switch.
198+
bool HasHardPrivacySwitch() override { return true; }
199199

200200
// Currently, defaulting to supporting speaker.
201201
bool HasSpeaker() override { return true; }

0 commit comments

Comments
 (0)