2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: don't set progressbar when flashing from Magisk Manager

This commit is contained in:
Christopher Roy Bratusek 2018-08-19 18:55:38 +02:00
parent 8f60ed9cb0
commit 9953a5ab03
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
* CommonInstaller
* code simplifications
* don't set progressbar when flashing from Magisk Manager
### Updates

View File

@ -63,11 +63,11 @@ ui_print() {
}
show_progress() {
echo "progress ${1} ${2}" >> /proc/self/fd/${OUTFD}
${BOOTMODE} || echo "progress ${1} ${2}" >> /proc/self/fd/${OUTFD}
}
set_progress() {
echo "set_progress ${1}" >> /proc/self/fd/${OUTFD}
${BOOTMODE} || echo "set_progress ${1}" >> /proc/self/fd/${OUTFD}
}
grep_prop() {