yukawa: Add default Power HAL Ver 1.0
Bug: 144033261
Test: Manual
Change-Id: I51ffe6b47771f6914e761ecdfeb8efa0a39d7c13
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/device-common.mk b/device-common.mk
index b0e0087..a36074e 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -141,6 +141,12 @@
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.mapper@2.0-impl
+# PowerHAL
+PRODUCT_PACKAGES += \
+ power.default \
+ android.hardware.power@1.0-impl \
+ android.hardware.power@1.0-service
+
# Software Gatekeeper HAL
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-service.software
diff --git a/manifest.xml b/manifest.xml
index 765b92e..cf7c024 100755
--- a/manifest.xml
+++ b/manifest.xml
@@ -174,4 +174,13 @@
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>android.hardware.power</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IPower</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
</manifest>