Revert "gapps: Always remove Google SuW"

This reverts commit 637e034149.
This commit is contained in:
Abhisek Devkota
2018-02-15 22:14:10 -08:00
parent 17c1984627
commit 962ce30b7c

View File

@@ -71,10 +71,10 @@ cd /tmp
unzip -o "$ZIP" unzip -o "$ZIP"
exec_util "rm -rf META-INF" exec_util "rm -rf META-INF"
cd system cd system
#if [ "$MEM" -lt "$LOWMEM" ]; then if [ "$MEM" -lt "$LOWMEM" ]; then
# ui_print "Low RAM device detected, removing Google SuW" ui_print "Low RAM device detected, removing Google SuW"
exec_util "rm -rf priv-app/SetupWizard" exec_util "rm -rf priv-app/SetupWizard"
#fi fi
ui_print "Generating addon.d file" ui_print "Generating addon.d file"
cat addon.d/addond_head > addon.d/30-gapps.sh cat addon.d/addond_head > addon.d/30-gapps.sh
for f in `exec_util "find . -type f"`; do for f in `exec_util "find . -type f"`; do