From 09df16c703988a5c58b1f1b8fe92da185c2bab58 Mon Sep 17 00:00:00 2001 From: Chien-Yu Chen Date: Mon, 19 Aug 2019 15:18:08 -0700 Subject: camera: Add thermal throttle callback Test: Camera CTS Bug: 119872767 Change-Id: I9ab1fdc311f08dff28cf806b9556d2cdd2d2ead6 --- amber/camera/libhdrplusclient/include/EaselManagerClient.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amber/camera/libhdrplusclient/include/EaselManagerClient.h b/amber/camera/libhdrplusclient/include/EaselManagerClient.h index 682cb67..b7d5168 100644 --- a/amber/camera/libhdrplusclient/include/EaselManagerClient.h +++ b/amber/camera/libhdrplusclient/include/EaselManagerClient.h @@ -148,6 +148,10 @@ public: // Invoked when Easel encountered a fatal error. Client should shut down Easel. virtual void onEaselFatalError(std::string errMsg) = 0; + + // Invoked when device is in a thermal condition not suitable for HDR+ processing. + // Client should disable HDR+ as soon as possible. + virtual void onThermalThrottle() = 0; }; } // namespace android -- cgit v1.2.3