-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change introduces `AndroidEnvConfig`, the topmost `dataclass` to configure AndroidEnv's instantiation. This aligns the interface used in the open-source version with Google's internal version. The main diffs are in `loader.py` and `loader_test.py`, with two significant differences: * No automagic param manipulation for connecting to existing emulators. * Instead of trying to guess what clients want, `loader.load()` now just interprets the given settings, including the Emulator's console port and adb port. This is less error-prone and much simpler to use. * `loader.load()` now supports loading `AndroidEnv` with a `FakeSimulator`. * This is very convenient when setting up `AndroidEnv` in a more complex infrastructure since `FakeSimulator` boots up instantaneously. PiperOrigin-RevId: 605303997
- Loading branch information
1 parent
c08dd62
commit b3412e3
Showing
7 changed files
with
166 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.