Skip to content

base: Add BLE(Bluetooth Low Energy) only mode [2/4]#351

Open
misakazip wants to merge 1 commit into
GrapheneOS:16-qpr2from
misakazip:16-qpr2_ble
Open

base: Add BLE(Bluetooth Low Energy) only mode [2/4]#351
misakazip wants to merge 1 commit into
GrapheneOS:16-qpr2from
misakazip:16-qpr2_ble

Conversation

@misakazip
Copy link
Copy Markdown

This pull request adds support for a new "BLE only" (Bluetooth Low Energy only) mode in the Bluetooth settings. This feature allows users to restrict Bluetooth functionality to BLE mode for improved security, at the cost of reduced compatibility.
Part of GrapheneOS/os-issue-tracker#7096

Change-Id: Id7968f84c237e4d8bb610effbe56d7d72dcbff55
Copilot AI review requested due to automatic review settings May 16, 2026 00:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new persistent system property setting BLUETOOTH_BLE_ONLY to the ExtSettings class. This is part 2 of a 4-PR series enabling a "BLE only" mode that restricts Bluetooth to Low Energy, disabling Classic (BR/EDR) profiles for improved security. This setting will be read/written by other parts of the system (e.g., Settings UI and Bluetooth stack) in the companion PRs.

Changes:

  • Declare a new BoolSysProperty constant BLUETOOTH_BLE_ONLY backed by persist.bluetooth.ble_only, defaulting to false.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants