summaryrefslogtreecommitdiff
path: root/PowerHintSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PowerHintSession.cpp')
-rw-r--r--PowerHintSession.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/PowerHintSession.cpp b/PowerHintSession.cpp
index c4e9074..3fec48c 100644
--- a/PowerHintSession.cpp
+++ b/PowerHintSession.cpp
@@ -31,7 +31,6 @@ ndk::ScopedAStatus PowerHintSessionImpl::resume(){
ndk::ScopedAStatus PowerHintSessionImpl::close(){
return ndk::ScopedAStatus::ok();
}
-#if (PLATFORM_SDK_VERSION >= 34)
ndk::ScopedAStatus PowerHintSessionImpl::sendHint(aidl::android::hardware::power::SessionHint hint){
return ndk::ScopedAStatus::ok();
}
@@ -42,4 +41,3 @@ ndk::ScopedAStatus PowerHintSessionImpl::setThreads(const std::vector<int32_t>&
}
return ndk::ScopedAStatus::ok();
}
-#endif