mirror of
https://github.com/budtmo/docker-android
synced 2024-11-22 15:17:28 +00:00
removing function change_emulator_ram_size since it's not necessary anymore
This commit is contained in:
parent
aedb5f9ce8
commit
fcb6a21d00
11
src/utils.sh
11
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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user