Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect SPP error notification presented to user #1661

Closed
joeygrover opened this issue Apr 16, 2021 · 0 comments
Closed

Incorrect SPP error notification presented to user #1661

joeygrover opened this issue Apr 16, 2021 · 0 comments
Labels
bug A defect in the library

Comments

@joeygrover
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

3 participants