Remove lowmemorykiller property overrides
With new kill logic implemented in lmkd, devices should work
with default values. Remove ro.lmk.* property overrides.
Based on similar changes submitted for cuttlefish and crosshatch.
Change-Id: Ifb8cf342795395fbc385353d3a896b86f0cb1449
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/device-common.mk b/device-common.mk
index de30076..f9962d4 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -31,19 +31,6 @@
PRODUCT_USE_DYNAMIC_PARTITIONS := true
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
-# copied from crosshatch
-# Set lmkd options
-PRODUCT_SYSTEM_DEFAULT_PROPERTIES := \
- ro.lmk.low=1001 \
- ro.lmk.medium=800 \
- ro.lmk.critical=0 \
- ro.lmk.critical_upgrade=false \
- ro.lmk.upgrade_pressure=100 \
- ro.lmk.downgrade_pressure=100 \
- ro.lmk.kill_heaviest_task=true \
- ro.lmk.kill_timeout_ms=100 \
- ro.lmk.use_minfree_levels=true \
-
# HACK: Avoid usb crash
PRODUCT_PRODUCT_PROPERTIES := \
persist.adb.nonblocking_ffs=0 \