sm7125: overlay: Compact cached app heaps in the background * Background ART heap compaction for cached apps has been recommended for Android Go devices for a while, and Google has enabled it for the Pixel 5 on RQ1A.201205.010. This feature should help fit more cached apps in memory

Signed-off-by: HeroBuxx <herobuxx@gmail.com>
Signed-off-by: Ruchit <ruchitmarathe@gmail.com>
urubino-microg
kdrag0n 3 years ago committed by Ruchit
parent 025bd7fe7d
commit 2003160eae
  1. 19
      overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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.
-->
<resources>
<string-array name="configs_base">
<!-- ART heap compaction for cached apps -->
<item>activity_manager/use_compaction=true</item>
</string-array>
</resources>
Loading…
Cancel
Save