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

Commit edd28c72 authored by Akilesh Kailash's avatar Akilesh Kailash Committed by Gerrit Code Review
Browse files

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

parents 88318e37 237db1e7
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,