commit | 9cbee243cbbf1d37b0f52fa1eb3e0a61a98488fc | [log] [tgz] |
---|---|---|
author | Nate Fischer <[email protected]> | Wed Apr 10 14:51:58 2019 |
committer | Commit Bot <[email protected]> | Wed Apr 10 14:51:58 2019 |
tree | 22e9faab37f437d28a39b436cd616f11fa9b99eb | |
parent | 0e7cf59b20c5175112e74ba1f417f0edc6d7f56c [diff] [blame] |
Docs: recommend "-no-window" emulator switch This changes the docs to recommend the "-no-window" flag over a combination of "xvfb-run" + "-gpu off". I originally recommended the latter, because ctrl-C didn't close the emulator when I used "-no-window" (see internal bug http://b/127373262). I'm changing my recommendation because: 1. I tried "-no-window" again recently, and can't reproduce the problem from before 2. "-gpu off" triggers a crash when running gradle tests which use ActivityTestRule , while "-no-window" avoids this issue (see internal bug http://b/127061659) Bug: 918221 Test: Upload to gerrit > open file > click "gitiles" Change-Id: I63fba988885b88b128adcee8cc670c11460ca079 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560517 Commit-Queue: Peter Wen <[email protected]> Auto-Submit: Nate Fischer <[email protected]> Reviewed-by: Peter Wen <[email protected]> Cr-Commit-Position: refs/heads/master@{#649498}
diff --git a/docs/android_emulator.md b/docs/android_emulator.md index 68fd764..394fac5 100644 --- a/docs/android_emulator.md +++ b/docs/android_emulator.md
@@ -79,8 +79,7 @@ You can run an emulator without creating a window on your desktop (useful for `ssh`): ```shell -$ sudo apt-get install xvfb-run -$ xvfb-run ~/Android/Sdk/emulator/emulator -gpu off @EMULATOR_ID +$ ~/Android/Sdk/emulator/emulator -no-window @EMULATOR_ID ``` ### Writable system partition