Skip to content

Keep boot_completion_timeout only on handle_reboot() with default None - #1070

Closed
xpconanfan wants to merge 1 commit into
masterfrom
handle_reboot_timeout_fix
Closed

xpconanfan wants to merge 1 commit into
masterfrom
handle_reboot_timeout_fix

Conversation

@xpconanfan

Copy link
Copy Markdown
Collaborator

Follow-up to #1065:

  • Restore AndroidDevice.reboot(self) without boot_completion_timeout so subclasses overriding reboot(self) do not fail bad-override type checking.
  • Change handle_reboot(self, boot_completion_timeout=None) to default to None and only pass timeout= to wait_for_boot_completion() when explicitly set, preserving subclass wait_for_boot_completion() defaults.

Restore AndroidDevice.reboot(self) signature so subclasses overriding reboot(self) do not fail type checking, and default boot_completion_timeout to None on handle_reboot() so subclass wait_for_boot_completion() defaults are preserved when not explicitly specified.
@xpconanfan
xpconanfan requested review from ko1in1u and mhaoli October 11, 2026 08:35
@xpconanfan xpconanfan closed this Oct 11, 2026
@xpconanfan
xpconanfan deleted the handle_reboot_timeout_fix branch October 11, 2026 08:43
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