avicii: overlay: Don't pin camera in memory

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>
This commit is contained in:
Danny Lin
2020-10-06 16:16:44 -07:00
committed by AmolAmrit
parent 3993e76964
commit 6b99fd74ea

View File

@@ -10,9 +10,6 @@
The default is false. -->
<bool name="config_lidControlsSleep">true</bool>
<!-- True if camera app should be pinned via Pinner Service -->
<bool name="config_pinnerCameraApp">true</bool>
<!-- True if home app should be pinned via Pinner Service -->
<bool name="config_pinnerHomeApp">true</bool>