Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazily initialize AdbCallParser in DeviceSettings. #240

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

copybara-service[bot]
Copy link

Lazily initialize AdbCallParser in DeviceSettings.

We only need AdbCallParser after DeviceSettings.__init__() in update()
or get_orientation(), so we construct it lazily. This allows the simulator to
be launched after DeviceSettings is constructed.

We only need `AdbCallParser` _after_ `DeviceSettings.__init__()` in `update()`
or `get_orientation()`, so we construct it lazily. This allows the simulator to
be launched after `DeviceSettings` is constructed.

PiperOrigin-RevId: 689057999
@copybara-service copybara-service bot merged commit 746e0e9 into main Oct 23, 2024
@copybara-service copybara-service bot deleted the test_688987170 branch October 23, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant