b3e9fc2219
These LMK properties are product properties. The configuration will
be absent when GSI is installed as GSI doesn't mount the product
partition. Without these settings, some CTS test cases could
fail due to an aggressive LMK.
The patch puts these properties in GSI as default values.
Bug: 136212765
Bug: 134460917
Test: `run cts -m CtsFileSystemTestCases`, all pass
Change-Id: I6fde8db51debcb9bb269aece3a3e4c7e5bb991f6
Merged-In: I6fde8db51debcb9bb269aece3a3e4c7e5bb991f6
(cherry picked from commit 9547929af4
)
19 lines
593 B
Text
19 lines
593 B
Text
# GSI always generate dex pre-opt in system image
|
|
ro.cp_system_other_odex=0
|
|
|
|
# GSI always disables adb authentication
|
|
ro.adb.secure=0
|
|
|
|
# GSI disables non-AOSP nnapi extensions on product partition
|
|
ro.nnapi.extensions.deny_on_product=true
|
|
|
|
# TODO(b/120679683): disable RescueParty before all problem apps solved
|
|
persist.sys.disable_rescue=true
|
|
|
|
# TODO(b/78105955): disable privapp_permissions checking before the bug solved
|
|
ro.control_privapp_permissions=disable
|
|
|
|
# TODO(b/136212765): the default for LMK
|
|
ro.lmk.kill_heaviest_task=true
|
|
ro.lmk.kill_timeout_ms=100
|
|
ro.lmk.use_minfree_levels=true
|