Skip to content

Commit 8d8e770

Browse files
code-rootclaude
andcommitted
fix: add missing _AVD_SAMSUNG_HW_DEVICE variable definition
Fixes NameError: name '_AVD_SAMSUNG_HW_DEVICE' is not defined when creating Samsung devices. Set to 'pixel_6' as fallback. This variable is used when creating AVD for Samsung fingerprints, matching the hvdmanager --device parameter. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent d2bcd49 commit 8d8e770

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎backend/core/emulator/avd.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"SM-N986U": "Samsung Galaxy Note 20 Ultra",
3030
}
3131

32+
# Samsung AVD hardware profile — fallback to pixel_6 if not available
33+
_AVD_SAMSUNG_HW_DEVICE = "pixel_6"
34+
3235

3336
def _is_samsung_fingerprint_hw(
3437
manufacturer: Optional[str], brand: Optional[str], device_model: Optional[str]

0 commit comments

Comments
 (0)