mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonAddon: remove unused funcs
This commit is contained in:
parent
c2d3d13d61
commit
c8670d674b
@ -52,20 +52,11 @@ WhisperPush
|
||||
EOF
|
||||
}
|
||||
|
||||
is_mounted () {
|
||||
grep -q "$(readlink -f ${1})" /proc/mounts 2>/dev/null
|
||||
return $?
|
||||
}
|
||||
|
||||
ui_print () {
|
||||
echo -n -e "ui_print ${1}\n" >> /proc/self/fd/${OUTFD}
|
||||
echo -n -e "ui_print\n" >> /proc/self/fd/${OUTFD}
|
||||
}
|
||||
|
||||
grep_prop() {
|
||||
sed -n "s/^${1}=//p" ${build_props} ${2} | head -n 1
|
||||
}
|
||||
|
||||
detect_outfd () {
|
||||
# taken from Magisk
|
||||
# update-binary|updater <RECOVERY_API_VERSION> <OUTFD> <ZIPFILE>
|
||||
|
Loading…
Reference in New Issue
Block a user