diff options
author | Xin Li <delphij@google.com> | 2019-07-01 20:58:45 +0000 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2019-07-01 20:58:45 +0000 |
commit | eb1328c4c798e4c7c26c3b23b2d45592f5b84274 (patch) | |
tree | ff92df40146a902a7a0493d120408d26c5ac7f41 /device-common.mk | |
parent | 3fd12db8d118112f26fb1fd180e771f5a1313b9e (diff) | |
parent | c3fb8beab154dbb8bd42c3185274543b3404ce35 (diff) | |
download | bonito-eb1328c4c798e4c7c26c3b23b2d45592f5b84274.tar.gz |
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Bug: 134405016
Change-Id: I57baf115acb0acc3962f9bf685d6c72a2be3152c
Diffstat (limited to 'device-common.mk')
-rw-r--r-- | device-common.mk | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/device-common.mk b/device-common.mk index efa32cea..2ff1ccf3 100644 --- a/device-common.mk +++ b/device-common.mk @@ -35,7 +35,10 @@ PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.ccodec=4 PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=512 # Setting vendor SPL -VENDOR_SECURITY_PATCH = "2018-09-05" +VENDOR_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH) + +# Set boot SPL +BOOT_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH) # MIDI feature PRODUCT_COPY_FILES += \ @@ -67,7 +70,7 @@ PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=2 PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000 # Set lmkd options -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ +PRODUCT_PRODUCT_PROPERTIES += \ ro.lmk.low=1001 \ ro.lmk.medium=800 \ ro.lmk.critical=0 \ @@ -100,3 +103,23 @@ PRODUCT_COPY_FILES += \ # Dumpstate HAL PRODUCT_PACKAGES += \ android.hardware.dumpstate@1.0-service.bonito + +# Enable retrofit dynamic partitions for all bonito +# and sargo targets +PRODUCT_USE_DYNAMIC_PARTITIONS := true +PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true +PRODUCT_PACKAGES += \ + android.hardware.boot@1.0-impl.recovery \ + bootctrl.sdm710 \ + bootctrl.sdm710.recovery \ + check_dynamic_partitions \ + +AB_OTA_POSTINSTALL_CONFIG += \ + RUN_POSTINSTALL_product=true \ + POSTINSTALL_PATH_product=bin/check_dynamic_partitions \ + FILESYSTEM_TYPE_product=ext4 \ + POSTINSTALL_OPTIONAL_product=false \ + +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true + |