Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef7c7d29 authored by Igor Murashkin's avatar Igor Murashkin
Browse files

pinner: Replace camera pinning with iorap prefetching

The camera-specific pinning needs to be disabled for iorap to be able to trace the camera
APK.

Saves 40-70MB of memory system-wide depending on the device.

Bug: 149426956
Test: adb shell dumpsys pinner
Change-Id: If98eb82a9d741a41e76565d37cfe2dd828e7a653
parent 1c585416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public final class PinnerService extends SystemService {
    private static boolean PROP_PIN_CAMERA =
            DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_RUNTIME_NATIVE_BOOT,
                                    "pin_camera",
                                    SystemProperties.getBoolean("pinner.pin_camera", true));
                                    SystemProperties.getBoolean("pinner.pin_camera", false));
    // Pin using pinlist.meta when pinning apps.
    private static boolean PROP_PIN_PINLIST = SystemProperties.getBoolean(
            "pinner.use_pinlist", true);