watchdog: Move platform watchdog daemon to gs-common

Bug: 238701471
Change-Id: I002a7f82167c6d9aa11f4ec23860eb443551713a
This commit is contained in:
Woody Lin 2022-07-11 18:20:38 +08:00
parent cfc3f8830e
commit 7a331b67fd

View file

@ -303,9 +303,6 @@ on init
# Power Stats HAL
chown system system /dev/bbd_pwrstat
# start watchdogd
start watchdogd
# Add a boost for NNAPI HAL
write /proc/vendor_sched/nnapi_prefer_idle 0
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.gs10
disabled
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
service bugreport /system/bin/dumpstate -d -p -z
class main