Skip to content

Ensure app can run reliably in background #29

@kalynstricklin

Description

@kalynstricklin
  • Foreground service exists, but we need to handle restart failure. SensorHubService.java The wakelocks are released. No proper error handling at all and fails silently.
  try {           
      sensorhub.start();
  } catch (SensorHubException e) {
      e.printStackTrace();   // ← user is not informed of whats happening. 
      releaseWakeLocks();    // ← locks released, but service keeps running                                                                  
  }    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions