Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9441a1eb authored by David Anderson's avatar David Anderson
Browse files

IBootControl: Use new defaultPassthroughServiceImplementation signature.

Using the new signature ensures that the device actually provides an
IBootControl 1.1 implementation.

Bug: N/A
Test: manual test
Change-Id: I0ddc1ed71535a31c887d94196295baa46ed37d3c
parent f581c60f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -15,12 +15,13 @@
 */
#define LOG_TAG "android.hardware.boot@1.1-service"

#include <android/hardware/boot/1.0/IBootControl.h>
#include <android/hardware/boot/1.1/IBootControl.h>
#include <hidl/LegacySupport.h>

using android::hardware::defaultPassthroughServiceImplementation;
using ::android::hardware::boot::V1_0::IBootControl;
using IBootControl_V1_0 = android::hardware::boot::V1_0::IBootControl;
using IBootControl_V1_1 = android::hardware::boot::V1_1::IBootControl;

int main(int /* argc */, char* /* argv */[]) {
    return defaultPassthroughServiceImplementation<IBootControl>();
    return defaultPassthroughServiceImplementation<IBootControl_V1_0, IBootControl_V1_1>();
}