Skip to content

Commit

Permalink
fix: always explicitly watch layout when connecting to emulator - old…
Browse files Browse the repository at this point in the history
…er emulators need it
  • Loading branch information
grdddj committed Jan 13, 2025
1 parent a11087c commit 1bfc6a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,13 @@ def connect_to_client(
client.open()
time.sleep(SLEEP)

# Needs to be done because some older emulators require this explicitly
client.debug.watch_layout(True)

try:
yield client
finally:
client.debug.watch_layout(False)
client.close()


Expand Down

0 comments on commit 1bfc6a8

Please sign in to comment.