diff --git a/target/board/go_defaults_common.prop b/target/board/go_defaults_common.prop index c0c0ef62ac..5ebcb474c4 100644 --- a/target/board/go_defaults_common.prop +++ b/target/board/go_defaults_common.prop @@ -17,7 +17,6 @@ # Sets Android Go recommended default values for propreties. # Set lowram options -ro.config.low_ram=true ro.lmk.critical_upgrade=true ro.lmk.upgrade_pressure=40 ro.lmk.downgrade_pressure=60 diff --git a/target/product/go_defaults_common.mk b/target/product/go_defaults_common.mk index 98fbe4b75e..6e9ad95914 100644 --- a/target/product/go_defaults_common.mk +++ b/target/product/go_defaults_common.mk @@ -16,6 +16,11 @@ # Sets Android Go recommended default product options.. + +# Set lowram options +PRODUCT_PROPERTY_OVERRIDES += \ + ro.config.low_ram=true \ + # Speed profile services and wifi-service to reduce RAM and storage. PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile