summaryrefslogtreecommitdiff
path: root/PowerHintSession.cpp
diff options
context:
space:
mode:
authorVinay Rijhwani <quic_vrijhwan@quicinc.com>2023-08-01 15:51:32 +0530
committeralk3pInjection <webmaster@raspii.tech>2023-12-31 01:12:53 +0800
commit2bbce5856eda372d7dc28398ca60792985e7212f (patch)
tree03fdd94c0a91d5d0c88b886529ac911f0960ddee /PowerHintSession.cpp
parentfa7c26020441fd1d1c772e38c5febe0c1fdf0636 (diff)
Power: Using only v4 powerhal version for this branchumineko
Using only v4 powerhal version for this branch Change-Id: Iab9bc8c83bb2f052309791aa9f76a8676bddbfd1 Signed-off-by: Vinay Rijhwani <quic_vrijhwan@quicinc.com>
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