Merge pull request #307 from Hakalle/android-12.0

a20s: Fix watchdog issue
This commit is contained in:
Pierre-Hugues HUSSON 2022-05-15 18:08:53 +02:00 committed by GitHub
commit abedbd4e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1016,6 +1016,11 @@ fi
# Disable secondary watchdogs
echo -n V > /dev/watchdog1
# Fix watchdog issue on Samsung Galaxy A20s
if getprop ro.vendor.build.fingerprint | grep -iq samsung/a20sub/a20s; then
echo -n V > /dev/watchdog0
fi
if getprop ro.vendor.build.fingerprint | grep -iq samsung/a11que;then
echo -n V > /dev/watchdog0
fi