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/CameraOfflineSessionClient.h b/services/camera/libcameraservice/api2/CameraOfflineSessionClient.h index f2c42d8..9ea1093 100644 --- a/services/camera/libcameraservice/api2/CameraOfflineSessionClient.h +++ b/services/camera/libcameraservice/api2/CameraOfflineSessionClient.h
@@ -84,6 +84,8 @@ bool supportsCameraMute() override; status_t setCameraMute(bool enabled) override; + status_t setCameraServiceWatchdog(bool enabled) override; + // permissions management status_t startCameraOps() override; status_t finishCameraOps() override;