From fcb6a21d00d2d05458a666cc230540287e85f577 Mon Sep 17 00:00:00 2001 From: Lerry Date: Fri, 23 Dec 2022 17:16:33 -0800 Subject: [PATCH] removing function change_emulator_ram_size since it's not necessary anymore --- src/utils.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/utils.sh b/src/utils.sh index c712900..e29b5b3 100755 --- a/src/utils.sh +++ b/src/utils.sh @@ -77,16 +77,6 @@ function enable_proxy_if_needed () { fi } -function change_emulator_ram_size() { - echo '-------------------------------------------------' - echo 'Changing emulator ram size for better performance' - echo '-------------------------------------------------' - sed '/^hw.ramSize /s/=.*$/= 4096/' /root/android_emulator/hardware-qemu.ini - echo '-------------------------------------------------' - echo 'Emulator ram size changed to 4096' - echo '-------------------------------------------------' -} - function check_emulator_popups() { echo "Waiting for device..." wait_emulator_to_be_ready @@ -114,7 +104,6 @@ function check_emulator_popups() { ;; *"Not Responding: com.android.systemui"*) echo "Dismiss System UI isn't responding alert" - change_emulator_ram_size adb shell su root 'kill $(pidof com.android.systemui)' first_launcher=1 ;;