OSDN Git Service

Read Bluetooth interop database entries from settings (1/2)
authorAndre Eisenbach <eisenbach@google.com>
Thu, 14 Jan 2016 22:20:34 +0000 (14:20 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 18 Feb 2016 21:51:44 +0000 (21:51 +0000)
commit82a94d98e74b6ba0f816c675486a0672d473ecf5
tree67c4e4f3be1c96b4ea62ba084fbf51b8a532f888
parent40d8823dd32a6898198c8680135dea715fbddd51
Read Bluetooth interop database entries from settings (1/2)

Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.

Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".

Bug: 26548845
Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949
(cherry picked from commit 3bc623be8dd8b83d0a22c5cc5b5a8955001f6fc7)
core/java/android/provider/Settings.java