Merge "watchdog: Move platform watchdog daemon to gs-common"

This commit is contained in:
Woody Lin 2022-07-21 06:53:08 +00:00 committed by Android (Google) Code Review
commit 2acf86b3ab

View file

@ -296,9 +296,6 @@ on init
# Power Stats HAL # Power Stats HAL
chown system system /dev/bbd_pwrstat chown system system /dev/bbd_pwrstat
# start watchdogd
start watchdogd
# Add a boost for NNAPI HAL # Add a boost for NNAPI HAL
write /proc/vendor_sched/nnapi_prefer_idle 0 write /proc/vendor_sched/nnapi_prefer_idle 0
write /proc/vendor_sched/nnapi_uclamp_min 512 write /proc/vendor_sched/nnapi_uclamp_min 512
@ -841,12 +838,6 @@ service insmod_sh_common /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.zuma
disabled disabled
oneshot oneshot
# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
service watchdogd /system/bin/watchdogd 10 20
class core
oneshot
seclabel u:r:watchdogd:s0
# bugreport is triggered by holding down volume down, volume up and power # bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/dumpstate -d -p -z service bugreport /system/bin/dumpstate -d -p -z
class main class main