summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index ba640ac..aa21121 100644
--- a/device.mk
+++ b/device.mk
@@ -363,6 +363,15 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.media.treble_omx=false
+# Write Manufacturer & Model information in created media files.
+# IMPORTANT: ONLY SET THIS PROPERTY TO TRUE FOR PUBLIC DEVICES
+ifneq ($(filter aosp_bullhead% bullhead%, $(TARGET_PRODUCT)),)
+PRODUCT_PROPERTY_OVERRIDES += \
+ media.recorder.show_manufacturer_and_model=true
+else
+$(error "you must decide whether to write manufacturer and model information into created media files for this device. ONLY ENABLE IT FOR PUBLIC DEVICE.")
+endif #TARGET_PRODUCT
+
# Reduce client buffer size for fast audio output tracks
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1