settings: change default value of lid controll to enabled

Change-Id: I01c7a30a4be538ce1c052fdc9fbfbdc1636898ca
Fixed some incorrect translations

Change-Id: I8efd85184e73baf2d9742663116d31bffcaa21c8
PBAP: Fix device name update on authorization prompt from Notification.

Use FLAG_ONE_SHOT for Notification PendingIntent to launch
authorization prompt and display the updated device name for
every new PBAP connection request.

Change-Id: Ic9cbed92e2856ed2d2f4f807f7f8c39df7f98762
CRs-fixed: 515221
FLAG_ONE_SHOT is not guaranteed to update the extras.

In contrast, according to the docs [1], FLAG_CANCEL_CURRENT is. Also
keep track of the notifications on a per-device basis.

[1]
http://developer.android.com/reference/android/app/PendingIntent.html

Change-Id: Ie04f60cde6a4332178373ce6be073e04036676c0
Bluetooth: Set isPreferred to true for PanProfile Connections.

isPreferred is always true for PAN profile so that DUT can
initiate connection with remote device. Curretnly we are
returning true only when pan profile is in connected, so
it will return false when pan profile is not connected and
will never initiate connection on click.

Change-Id: I7c789add73ca944d074b0ecd8af223f6d61b547a
CRs-fixed: 463887
Bluetooth: Not allow Blank BT device name.

Add empty string check for BT device name
and not enable ok button until entered
device name is not empty.

Change-Id: Ib7c460bee5c8d86d13acd66d228279dd1a240c25
CRs-fixed: 471158
Bluetooth: Handle pairing Cancel intent.

Receive Pairing cancel intent and clear pairing request
from notification window.

CRs-fixed: 463362

Change-Id: I63c9299edca4356485f26cbc6332e3be9bdfbf17
Bluetooth: Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

This reverts commit 1b652eb600ad7b4a769ad495bbb7eb4c6ab82fb2.

CRs-Fixed: 523374
Change-Id: Ia250d52e6fb7a69af242c961d33027f1e724ab25
Bluetooth: Security: Add Null check during pairing cancel intent.

Added null check, so before posing event we can restrict events,
if cached device list is empty

Change-Id: I458d181abe5eec2497b80b1713ddbc3502b79786
CRs-Fixed: 546364
Bluetooth: SAP: Add SAP profile support in Settings APP

This change consists of:,
 16 digit Authentication
 SAP profile connection status changes
 SAP Disconnect from server related changes

Change-Id: I57870a75c30e03b3c244d56e9b55a1367490bfc9
Bluetooth: DUN: Add DUN profile support in Settings APP

It registers service listener for DUN profile with the
BT adapter, and it will track the profile status with
the service listener state chnages.

It also has support for DUN profile connection status
updation and DUN Disconnection from server.

Change-Id: I83d4919821cb095429ff7e73a8974d92c4df086c
Merge "PBAP: Fix device name update on authorization prompt from Notification." into jb4.3
Merge "FLAG_ONE_SHOT is not guaranteed to update the extras." into jb4.3
Merge "Bluetooth: Set isPreferred to true for PanProfile Connections." into jb4.3
Merge "Bluetooth: Not allow Blank BT device name." into jb4.3
Merge "Bluetooth: Handle pairing Cancel intent." into jb4.3
Merge "Bluetooth: Remove out of range devices after ScanComplete" into jb4.3
Merge "Bluetooth: Security: Add Null check during pairing cancel intent." into jb4.3
Merge "Bluetooth: SAP: Add SAP profile support in Settings APP" into jb4.3
Merge "Bluetooth: DUN: Add DUN profile support in Settings APP" into jb4.3