summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolen Johnson <johnsonnolen@gmail.com>2022-01-06 16:59:08 -0500
committeralk3pInjection <webmaster@raspii.tech>2022-05-02 12:00:45 +0800
commite33094d7885d68f11a601cca20e1c8bd18b49a54 (patch)
treed5101f6966bf051a588de8e7ec35154703afc3f2
parent7139f6828f34debf7ef8a65e445c97c9e245b565 (diff)
fs_mgr: Don't run clean_scratch_files on non-dynamic devices
* This results in a metric ton of denials on some devices and eats up valuable resources on boot, plus there's 0 need for it, so kill it. Change-Id: Ic52d5b3f06724430e9505345024cf0041b37ca49
-rw-r--r--fs_mgr/clean_scratch_files.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_mgr/clean_scratch_files.rc b/fs_mgr/clean_scratch_files.rc
index 25a7e690a..71708f8c1 100644
--- a/fs_mgr/clean_scratch_files.rc
+++ b/fs_mgr/clean_scratch_files.rc
@@ -1,2 +1,2 @@
-on post-fs-data && property:ro.debuggable=1
+on post-fs-data && property:ro.debuggable=1 && property:ro.boot.dynamic_partitions=true
exec_background - root root -- /system/bin/clean_scratch_files