Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 694
    • Issues 694
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Issues
  • #225

Closed
Open
Opened Jan 20, 2016 by akwizgran@akwizgranOwner

Bluetooth plugin is broken on Android 6

Android 6 no longer allows access to the local Bluetooth address. BluetoothAdapter.getAddress() now returns a fixed value. This will break our ability to give our address to contacts so they can connect without performing discovery.

https://developer.android.com/intl/ko/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id

The plugin still uses BluetoothAdapter.getAddress(), it's only TestingActivity and CrashReportActivity that look at the value in Settings.Secure. we need to add a method (maybe in AndroidUtils?) for getting the value from the adapter, checking whether it's valid, getting the value from Settings.Secure if it's not, and throwing an exception if there's not a valid address there either.

Assignee
Assign to
Milestone B
Milestone
Milestone B (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: briar/briar#225