power: update SDK version for QSSI13.

Update SDK version in PowerHintSession to support QSSI13.

Change-Id: I7b14160f9c536e9d16f7c7b97753d5c53faef5c1
This commit is contained in:
zehugong
2023-05-13 10:41:20 +08:00
committed by Gerrit - the friendly Code Review server
parent eec9f143ca
commit 5ef80ed94d
5 changed files with 23 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ 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();
}
@@ -41,3 +42,4 @@ ndk::ScopedAStatus PowerHintSessionImpl::setThreads(const std::vector<int32_t>&
}
return ndk::ScopedAStatus::ok();
}
#endif