Skip to content

[BUG] The pause state is reset when the app is brought back #607

@zephvr

Description

@zephvr

Short title

The pause state is reset when the app is brought back from lockscreen or background

Describe the bug

When pausing the scan, then locking or coming back from the background the pause state is reset and the scan continue. It can lead to loss of scan data if the user moved to another location in the mean time.

Steps to reproduce

  1. Open the app
  2. Click the pause button on the upper right
  3. Lock your phone
  4. Unlock your phone

Expected behavior

The state of the pause button should not change when brought back

Relevant logs/screenshots

No response

Reproduction frequency

Always

Severity / Impact

Low

Device model

Pixel 8

Android version / API level

Android 16

WiFiAnalyzer version

3.2.2

Additional context

No response

AI Assistance

No AI tools were used

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions