diff options
Diffstat (limited to 'aosp/binder_service_android.cc')
-rw-r--r-- | aosp/binder_service_android.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/aosp/binder_service_android.cc b/aosp/binder_service_android.cc index 84b5b7a9..c2231fb0 100644 --- a/aosp/binder_service_android.cc +++ b/aosp/binder_service_android.cc @@ -258,4 +258,11 @@ Status BinderUpdateEngineAndroidService::cleanupSuccessfulUpdate( return Status::ok(); } +Status BinderUpdateEngineAndroidService::setPerformanceMode(bool enable) { + brillo::ErrorPtr error; + if (!service_delegate_->SetPerformanceMode(enable, &error)) + return ErrorPtrToStatus(error); + return Status::ok(); +} + } // namespace chromeos_update_engine |