diff --git a/boot/1.1/default/service.cpp b/boot/1.1/default/service.cpp index 93eaedab8d..89251b5c92 100644 --- a/boot/1.1/default/service.cpp +++ b/boot/1.1/default/service.cpp @@ -15,12 +15,13 @@ */ #define LOG_TAG "android.hardware.boot@1.1-service" -#include +#include #include 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(); + return defaultPassthroughServiceImplementation(); }