e78b9cdfc2
statsd is now enabled on all devices (including Go devices), and this property is no longer queried either. Accordingly, the property override is no longer needed. Test: T/H Bug: 157082130 Change-Id: I9ea37cf8104b7b7a3f4437b68714c12d6c3acb81
41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
#
|
|
# Copyright (C) 2017 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
# Sets Android Go recommended default values for propreties.
|
|
|
|
# Set lowram options
|
|
ro.lmk.critical_upgrade=true
|
|
ro.lmk.upgrade_pressure=40
|
|
ro.lmk.downgrade_pressure=60
|
|
ro.lmk.kill_heaviest_task=false
|
|
|
|
# set threshold to filter unused apps
|
|
pm.dexopt.downgrade_after_inactive_days=10
|
|
|
|
# set the compiler filter for shared apks to quicken.
|
|
# Rationale: speed has a lot of dex code expansion, it uses more ram and space
|
|
# compared to quicken. Using quicken for shared APKs on Go devices may save RAM.
|
|
# Note that this is a trade-off: here we trade clean pages for dirty pages,
|
|
# extra cpu and battery. That's because the quicken files will be jit-ed in all
|
|
# the processes that load of shared apk and the code cache is not shared.
|
|
# Some notable apps that will be affected by this are gms and chrome.
|
|
# b/65591595.
|
|
pm.dexopt.shared=quicken
|
|
|
|
# Default heap sizes. Allow up to 256m for large heaps to make sure a single app
|
|
# doesn't take all of the RAM.
|
|
dalvik.vm.heapgrowthlimit=128m
|
|
dalvik.vm.heapsize=256m
|