Change-Id: I2e64f23b5435f7262b36acd52916b5ac795dd106
mInitThread.detach();
}
+Return<void> Power::updateHint(const char *hint, bool enable) {
+ if (!mReady) {
+ return Void();
+ }
+ if (enable) {
+ mHintManager->DoHint(hint);
+ } else {
+ mHintManager->EndHint(hint);
+ }
+ return Void();
+}
+
// Methods from ::android::hardware::power::V1_0::IPower follow.
Return<void> Power::setInteractive(bool /* interactive */) {
return Void();
std::atomic<bool> mCameraStreamingMode;
std::atomic<bool> mReady;
std::thread mInitThread;
+
+ Return<void> updateHint(const char *hint, bool enable);
};
} // namespace implementation