mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "IBootControl: Use new defaultPassthroughServiceImplementation signature." am: 240c726150
am: b1ec4c6aa1
Change-Id: I142a7a7bdbdf420d046ab3c43fe176cb8d84c079
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user