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

Commit 670b46e0 authored by Akilesh Kailash's avatar Akilesh Kailash Committed by Automerger Merge Worker
Browse files

Merge "libprefetch: fix property names in the .rc script" into main am: edd28c72

parents d73d91c4 edd28c72
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ service prefetch /system/bin/prefetch start
    disabled
    oneshot

on property:ro.prefetch_boot.record=true
on property:prefetch_boot.record=true
    start prefetch_record

service prefetch_record /system/bin/prefetch record --duration ${ro.prefetch_boot.duration_s:-0}
@@ -18,7 +18,7 @@ service prefetch_record /system/bin/prefetch record --duration ${ro.prefetch_boo
    disabled
    oneshot

on property:ro.prefetch_boot.replay=true
on property:prefetch_boot.replay=true
    start prefetch_replay

service prefetch_replay /system/bin/prefetch replay --io-depth ${ro.prefetch_boot.io_depth:-2} --max-fds ${ro.prefetch_boot.max_fds:-128}
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ use rustutils::system_properties::PropertyWatcher;

const PREFETCH_RECORD_PROPERTY: &str = "prefetch_boot.record";
const PREFETCH_REPLAY_PROPERTY: &str = "prefetch_boot.replay";
const PREFETCH_RECORD_PROPERTY_STOP: &str = "ro.prefetch_boot.record_stop";
const PREFETCH_RECORD_PROPERTY_STOP: &str = "prefetch_boot.record_stop";

fn wait_for_property_true(
    property_name: &str,