From 2f1fec3c6ffacda7fc033926d7d86abf01ea3ba2 Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Fri, 11 May 2018 16:50:09 -0600 Subject: [PATCH] Remove keymaster4 Wahoo devices don't have keymaster4 hardware, just a software implementation that was used for testing. Bug: 77307896 Test: Check that the KM4 binary and RC are no longer on the device Change-Id: I607937921c09bf24bb971bb7ef089aab2346debd --- CleanSpec.mk | 5 +++++ device.mk | 4 ---- manifest.xml | 9 --------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/CleanSpec.mk b/CleanSpec.mk index fe253e4d..aa65532f 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -187,3 +187,8 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.drm@ # Remove healthd $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/healthd) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/healthd.rc) + +# Remove android.hardware.keymaster@4.0-service +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.keymaster@4.0-service) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.keymaster@4.0-service.rc) + diff --git a/device.mk b/device.mk index 8cc5ffc9..59753cf3 100755 --- a/device.mk +++ b/device.mk @@ -188,10 +188,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.health@2.0-service.wahoo -# Keymaster 4 (software only) -PRODUCT_PACKAGES += \ - android.hardware.keymaster@4.0-service - # Audio fluence, ns, aec property, voice and media volume steps PRODUCT_PROPERTY_OVERRIDES += \ ro.qc.sdk.audio.fluencetype=fluencepro \ diff --git a/manifest.xml b/manifest.xml index 8a7986d8..a1a0322a 100644 --- a/manifest.xml +++ b/manifest.xml @@ -169,15 +169,6 @@ default - - android.hardware.keymaster - hwbinder - 4.0 - - IKeymasterDevice - default - - android.hardware.light hwbinder