commit | aeb20dc9ce47cc36852a366cd695346550d4ca20 | [log] [tgz] |
---|---|---|
author | Ravneet <rdhanjal@google.com> | Wed Mar 30 05:33:03 2022 +0000 |
committer | Ravneet <rdhanjal@google.com> | Mon Apr 11 17:23:10 2022 +0000 |
tree | 1d614fcf37451390c6730004314347073aef2115 | |
parent | a32bd3bd438685c028bbaf269fe86492a18c6582 [diff] [blame] |
Add disable/enable camera service watchdog feature - Allows the camera service watchdog to be enabled and disabled - Usage: adb shell cmd media.camera set-cameraservice-watchdog [0/1] Test: Manual Bug: 62296107 Change-Id: I528ca819cc2be03006c77e869adf8f5fa99128d6
diff --git a/services/camera/libcameraservice/api2/CameraDeviceClient.h b/services/camera/libcameraservice/api2/CameraDeviceClient.h index 9d1deb1..df1aa32 100644 --- a/services/camera/libcameraservice/api2/CameraDeviceClient.h +++ b/services/camera/libcameraservice/api2/CameraDeviceClient.h
@@ -206,6 +206,8 @@ virtual status_t stopWatchingTags(int out); virtual status_t dumpWatchedEventsToVector(std::vector<std::string> &out); + virtual status_t setCameraServiceWatchdog(bool enabled); + /** * Device listener interface */