Skip to content

Incorrect SPP error notification presented to user #1661

@joeygrover

Description

@joeygrover

Bug Report

The evolution proposal [SDL 0230] SPP resource management for Android (#1132) was introduced to alert the user when SDL was unable to obtain an RFCOMM channel. This was likely due to too many other apps using BT RFCOMM channels. However, a bug exists in a sort of race condition that will incorrectly alerts the user. The occurence rate of this issue is small and it is not a high priority issue; the fix is to likely just check if the default BT adapter is enabled before presenting the notification

Reproduction Steps
  1. Install SDL app that supports USB
  2. Connect BT and ensure router service is started and connects
  3. Connect AOA, wait for USB connection to be established
  4. Turn off BT adapter on phone
  5. If notification doesn't appear, turn BT back on and off until it does
Expected Behavior

No notification should be shown to user stating too many apps using BT when the BT adapter is off

Observed Behavior

Sometimes the notification is shown to user stating too many apps using BT when the BT adapter is off

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions