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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user