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
This commit is contained in:
Nolen Johnson 2022-01-06 16:59:08 -05:00
parent da3caeab43
commit cb33fb4008

View file

@ -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