summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChien-Yu Chen <cychen@google.com>2019-08-21 13:50:15 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-08-21 13:50:15 -0700
commit0f11d42de356c8f4e8963052f8a6c6f9f29a96a5 (patch)
treef09233dd2dabee59c9c40d580bda1cbe183621cf
parentfb72d9d16252ed63d9e1aa3465101ff19ac440a3 (diff)
parent09df16c703988a5c58b1f1b8fe92da185c2bab58 (diff)
downloadeasel-0f11d42de356c8f4e8963052f8a6c6f9f29a96a5.tar.gz
camera: Add thermal throttle callback
am: 09df16c703 Change-Id: Ie85ab101253d041cab07e53a558bbac8a6161558
-rw-r--r--amber/camera/libhdrplusclient/include/EaselManagerClient.h4
1 files changed, 4 insertions, 0 deletions
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