[ALPS04455690] Whitelist some lmkd properties that go into /vendor/build.prop
Add whitelist for the following properties, ro.lmk.use_minfree_levels ro.lmk.low ro.lmk.medium ro.lmk.critical ro.lmk.kill_timeout_ms ro.lmk.swap_free_low_percentage This is just a temp solution because those properties should be put in system/sepolicy/public/property_contexts, but it is not ready currently. Once it is ready for those properties, this patch will be rolled back. MTK-Commit-Id: bc8b76b56605d264af1727cd234a5406da372744 Change-Id: Id8db6725e9dfeeeebd401c8922fe8004c5f5c5b4 CR-Id: ALPS04455690 Feature: Memory Optimization
This commit is contained in:
parent
210222b8d4
commit
3203c8f38a
@ -333,3 +333,11 @@ persist.vendor.mtk.xcap.rawurl u:object_r:persist_xcap_rawurl_prop:s0
|
|||||||
|
|
||||||
#=============mtk bt enable SAP profile property=============#
|
#=============mtk bt enable SAP profile property=============#
|
||||||
ro.vendor.mtk.bt_sap_enable u:object_r:mtk_bt_sap_enable_prop:s0
|
ro.vendor.mtk.bt_sap_enable u:object_r:mtk_bt_sap_enable_prop:s0
|
||||||
|
|
||||||
|
#============lmkd properties========#
|
||||||
|
ro.lmk.use_minfree_levels u:object_r:exported3_default_prop:s0 exact bool
|
||||||
|
ro.lmk.low u:object_r:exported3_default_prop:s0 exact int
|
||||||
|
ro.lmk.medium u:object_r:exported3_default_prop:s0 exact int
|
||||||
|
ro.lmk.critical u:object_r:exported3_default_prop:s0 exact int
|
||||||
|
ro.lmk.kill_timeout_ms u:object_r:exported3_default_prop:s0 exact int
|
||||||
|
ro.lmk.swap_free_low_percentage u:object_r:exported3_default_prop:s0 exact int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user