Skip to content

Suppress Android codename returned by avdmanager#124

Merged
lfroms merged 1 commit intomainfrom
clean-up-android-versions
Mar 10, 2026
Merged

Suppress Android codename returned by avdmanager#124
lfroms merged 1 commit intomainfrom
clean-up-android-versions

Conversation

@lfroms
Copy link
Member

@lfroms lfroms commented Mar 10, 2026

What does this change accomplish?

This change fixes an issue where Android version codenames were sneaking into the runtime information for a device, even though the .exact version should always be a numerical/semantic version. This doesn't cause any bugs, but fixing this improves user experience (especially where specifying an Android version is necessary).

How have you achieved it?

By updating the RegexBuilder logic to intentionally match codenames so that they are not included in the version capture, and updating the ProxyVirtualDevice's existing logic accordingly.

How can the change be tested?

Open Tophat and ensure that you still see all Android devices, and that they all use standard version labels like Android 15.0.

@lfroms lfroms self-assigned this Mar 10, 2026
@lfroms lfroms force-pushed the clean-up-android-versions branch from 75ca530 to d767f79 Compare March 10, 2026 18:40
@lfroms lfroms merged commit 3c1497e into main Mar 10, 2026
3 checks passed
@lfroms lfroms deleted the clean-up-android-versions branch March 10, 2026 20:22
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.

2 participants