Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Wait for dev.bootcomplete property on emulator launch #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

plastiv
Copy link

@plastiv plastiv commented Mar 7, 2019

Pull dev.bootcomplete instead of init.svc.bootanim system property to allow -no-boot-anim emulator start option.

From documentation: https://developer.android.com/studio/run/emulator-commandline#startup-options

-no-boot-anim
Disable the boot animation during emulator startup for faster booting. On slower computers, this option can significantly speed up the boot sequence.

Who doesn't want faster booting? It also looks like AndroidStudio is using this property as well https://android.googlesource.com/platform/tools/adt/idea/+/studio-master-dev/android/src/com/android/tools/idea/avdmanager/EmulatorConnectionListener.java#142

I'm not too familiar with swarmer internals or RxJava. But at my sandbox repo dev.bootcomplete is available on all x86 emulators api15-28 https://travis-ci.org/plastiv/peta-androidsdk/builds/502602101

I can work on integrating CI for swarmer separately if you are interested.

Fetch dev.bootcomplete instead of init.svc.bootanim to allow -no-boot-anim start option.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant