The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:
- We could easily end up with 160 MiB of camera app files pinned,
which is a somewhat tall order with the ~5.3 GiB of usable RAM that
we have
- The data that gets pinned may not even be the most critical data for
launching the camera
Disable pinning of the camera app to save precious RAM on this device.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
168 lines
7.8 KiB
XML
168 lines
7.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2022 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources>
|
|
|
|
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
|
|
it causes the device to wake up.
|
|
The default is false. -->
|
|
<bool name="config_lidControlsSleep">true</bool>
|
|
|
|
<!-- True if home app should be pinned via Pinner Service -->
|
|
<bool name="config_pinnerHomeApp">true</bool>
|
|
|
|
<!-- Indicate whether to allow the device to suspend when the screen is off
|
|
due to the proximity sensor. This resource should only be set to true
|
|
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
|
Otherwise, the device may fail to wake out of suspend reliably.
|
|
The default is false. -->
|
|
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
|
|
|
<!-- Whether device supports double tap to wake -->
|
|
<bool name="config_supportDoubleTapWake">true</bool>
|
|
|
|
<!-- True if the device supports Sustained Performance Mode-->
|
|
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
<integer-array name="config_longPressVibePattern">
|
|
<item>0</item>
|
|
<item>10</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
<item>0</item>
|
|
<item>10</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
|
<integer-array name="config_keyboardTapVibePattern">
|
|
<item>10</item>
|
|
</integer-array>
|
|
|
|
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
|
<integer-array name="config_availableColorModes">
|
|
<item>0</item>
|
|
<item>256</item>
|
|
<item>258</item>
|
|
<item>259</item>
|
|
</integer-array>
|
|
|
|
<!-- Default list of files pinned by the Pinner Service -->
|
|
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
|
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
|
|
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
|
|
<item>"/system/bin/surfaceflinger"</item>
|
|
<item>"/system/framework/ext.jar"</item>
|
|
<item>"/system/framework/framework.jar"</item>
|
|
<item>"/system/framework/services.jar"</item>
|
|
<item>"/system/lib/libEGL.so"</item>
|
|
<item>"/system/lib/libGLESv1_CM.so"</item>
|
|
<item>"/system/lib/libGLESv2.so"</item>
|
|
<item>"/system/lib/libGLESv3.so"</item>
|
|
<item>"/system/lib/libgui.so"</item>
|
|
<item>"/system/lib/libhwui.so"</item>
|
|
<item>"/system/lib/libui.so"</item>
|
|
<item>"/system/lib/libvulkan.so"</item>
|
|
<item>"/system/lib64/libEGL.so"</item>
|
|
<item>"/system/lib64/libGLESv1_CM.so"</item>
|
|
<item>"/system/lib64/libGLESv2.so"</item>
|
|
<item>"/system/lib64/libGLESv3.so"</item>
|
|
<item>"/system/lib64/libgui.so"</item>
|
|
<item>"/system/lib64/libhwui.so"</item>
|
|
<item>"/system/lib64/libui.so"</item>
|
|
<item>"/system/lib64/libvulkan.so"</item>
|
|
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
|
|
<item>"/vendor/lib/egl/eglSubDriverAndroid.so"</item>
|
|
<item>"/vendor/lib/egl/libEGL_adreno.so"</item>
|
|
<item>"/vendor/lib/egl/libGLESv1_CM_adreno.so"</item>
|
|
<item>"/vendor/lib/egl/libGLESv2_adreno.so"</item>
|
|
<item>"/vendor/lib/hw/vulkan.adreno.so"</item>
|
|
<item>"/vendor/lib/libCB.so"</item>
|
|
<item>"/vendor/lib/libOpenCL.so"</item>
|
|
<item>"/vendor/lib/libadreno_utils.so"</item>
|
|
<item>"/vendor/lib/libgpudataproducer.so"</item>
|
|
<item>"/vendor/lib/libgsl.so"</item>
|
|
<item>"/vendor/lib/libllvm-glnext.so"</item>
|
|
<item>"/vendor/lib/libllvm-qcom.so"</item>
|
|
<item>"/vendor/lib64/libcamxexternalformatutils.so"</item>
|
|
<item>"/vendor/lib64/libipebpsstriping.so"</item>
|
|
<item>"/vendor/lib64/egl/eglSubDriverAndroid.so"</item>
|
|
<item>"/vendor/lib64/egl/libEGL_adreno.so"</item>
|
|
<item>"/vendor/lib64/egl/libGLESv1_CM_adreno.so"</item>
|
|
<item>"/vendor/lib64/egl/libGLESv2_adreno.so"</item>
|
|
<item>"/vendor/lib64/hw/vulkan.adreno.so"</item>
|
|
<item>"/vendor/lib64/libCB.so"</item>
|
|
<item>"/vendor/lib64/libOpenCL.so"</item>
|
|
<item>"/vendor/lib64/libadreno_utils.so"</item>
|
|
<item>"/vendor/lib64/libgpudataproducer.so"</item>
|
|
<item>"/vendor/lib64/libgsl.so"</item>
|
|
<item>"/vendor/lib64/libllvm-glnext.so"</item>
|
|
<item>"/vendor/lib64/libllvm-qcom.so"</item>
|
|
</string-array>
|
|
|
|
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
|
May be less than the minimum allowed brightness setting
|
|
that can be set by the user. -->
|
|
<integer name="config_screenBrightnessDoze">17</integer>
|
|
|
|
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
|
during initialization when the setting is still null. -->
|
|
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
|
|
|
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
|
|
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
|
|
|
|
<!-- Flag specifying whether WFC over IMS should be available for carrier: independent of
|
|
carrier provisioning. If false: hard disabled. If true: then depends on carrier
|
|
provisioning, availability etc -->
|
|
<bool name="config_carrier_wfc_ims_available">true</bool>
|
|
|
|
<!-- Whether the new Auto Selection Network UI should be shown -->
|
|
<bool name="config_enableNewAutoSelectNetworkUI">true</bool>
|
|
|
|
<!-- Safe headphone volume index. When music stream volume is below this index
|
|
the SPL on headphone output is compliant to EN 60950 requirements for portable music
|
|
players. -->
|
|
<integer name="config_safe_media_volume_index">18</integer>
|
|
|
|
<!-- Safe USB headset gain. This value is used to ensure that the SPL on the USB
|
|
headset output is compliant to EN 60950 requirements for portable music players. -->
|
|
<integer name="config_safe_media_volume_usb_mB">-1650</integer>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
|
device from the display on/off state.
|
|
|
|
When false, autosuspend_disable() will be called before the display is turned on
|
|
and autosuspend_enable() will be called after the display is turned off.
|
|
This mode provides best compatibility for devices using legacy power management
|
|
features such as early suspend / late resume.
|
|
|
|
When true, autosuspend_display() and autosuspend_enable() will be called
|
|
independently of whether the display is being turned on or off. This mode
|
|
enables the power manager to suspend the application processor while the
|
|
display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to autosuspend.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
|
|
|
<!-- Enables or disables haptic effect when the text insertion/selection handle is moved
|
|
manually by the user. Off by default, since the expected haptic feedback may not be
|
|
available on some devices. -->
|
|
<bool name="config_enableHapticTextHandle">true</bool>
|
|
|
|
<!-- Whether device has warp charging support -->
|
|
<bool name="config_hasWarpCharger">true</bool>
|
|
|
|
<!-- Path to warp charging status file -->
|
|
<string name="config_WarpChargerStatusPath">/sys/devices/virtual/oplus_chg/battery/voocchg_ing</string>
|
|
|
|
</resources>
|