summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-03 15:30:17 -0700
committerTao Bao <tbao@google.com>2019-06-17 12:21:16 -0700
commit2cb10aa20caccff3e651bf27540f082ac09c7f2b (patch)
tree123465171ef61a7a9e46610a9a775e4f4de5a1a0
parentf7f59f80d4927a6cbf61aa725cffa16afb321cef (diff)
downloaddevice_google_wahoo-2cb10aa20caccff3e651bf27540f082ac09c7f2b.tar.gz
device_google_wahoo-2cb10aa20caccff3e651bf27540f082ac09c7f2b.tar.bz2
device_google_wahoo-2cb10aa20caccff3e651bf27540f082ac09c7f2b.zip
Include misc_writer.
Bug: 113028175 Bug: 134157796 Bug: 134430124 Test: Build and flash taimen with the matching bootloader change. Check serial log regarding the start of vendor.darkboot service. Also read the value via `dd bs=1 skip=2048 if=/dev/block/sda5 count=32 | xxd` to confirm the change. Test: Trigger a factory reset via Settings. Check the value in /misc after the reset. Change-Id: I87c248e25450f520bdc6f1cab3d7f240e54394d0
-rwxr-xr-xdevice.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 042fc6e5..2edb7b97 100755
--- a/device.mk
+++ b/device.mk
@@ -155,6 +155,10 @@ PRODUCT_PACKAGES_DEBUG += \
bootctl \
update_engine_client
+# Write flags to the vendor space in /misc partition.
+PRODUCT_PACKAGES += \
+ misc_writer
+
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \