1.根目录下device,搜索devices.mk
find -iname "device.mk"
找出device/mediatek/common/device.mk文件添加:
endif
#Add for mediaextractor process limitMem:500000000
PRODUCT_PROPERTY_OVERRIDES += ro.media.maxmem=500000000
# for sensor multi-hal
ifeq ($(USE_SENSOR_MULTI_HAL), true)
PRODUCT_COPY_FILES += $(