Skip to content

Commit

Permalink
platform: add keymaster configuration
Browse files Browse the repository at this point in the history
the keymaster configuration was moved from common to platforms

Signed-off-by: Alin Jerpelea <[email protected]>
  • Loading branch information
jerpelea committed Feb 2, 2022
1 parent ddbd490 commit d269739
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ PRODUCT_PACKAGES += \
init.recovery.akari \
init.akari

# Keymaster 3 passthrough service
PRODUCT_PACKAGES += \
[email protected]

PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.keymaster.version=v3

DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/vintf/android.hw.keymaster_v3.xml

# Telephony Packages (AOSP)
PRODUCT_PACKAGES += \
InCallUI \
Expand Down
11 changes: 11 additions & 0 deletions vintf/android.hw.keymaster_v3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport>hwbinder</transport>
<version>3.0</version>
<interface>
<name>IKeymasterDevice</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

0 comments on commit d269739

Please sign in to comment.