Bluetooth: Remove remote device from trust list on BOND change

A special case where remote device is paired & authorized by
DUT. Remote device is unpaired by itself & try to connect again.
In this scenario Link key is deleted from remote device. So
SSP is performed again. & remote device bond state is changed
to BOND_BONDING from BOND_BONDED on DUT while SSP, As it was
in DUT BONDED list. So permission/trust info for all profile
need to be false when it's moved to BOND_BONDING to solve the
issue.

Change-Id: I37e8d92feef3c2d4d18c014a5d9092a9469335cb
CRs-Fixed: 578523
Bluetooth: GAP: Cancel the previous visibilty alarms if already set

Cancel the previous visibility alarms set for 2 mins/5 mins/
1 hour if visibility change happens from the limited discoverable
to unlimited discoverable.

Change-Id: I01797b771c271498372f15b545233a73baf60ca9
CRs-fixed: 582492
Bluetooth: GAP: Cancel the pairing notification on bond state change

Cancel the pairing notification on bond state change happens from
BOND_BONDING to BOND_NONE.  Otherwise it will present in the
notification area until it gets cancelled by opening it and press
cancel on pairing dialog.

Change-Id: I96f673e29e612cd748165a1323a5b4a4276a843c
CRs-Fixed: 569534
Bluetooth: GAP: don't update autoconnect on bonding state

This patch fixes regression caused by commit
I37e8d92feef3c2d4d18c014a5d9092a9469335cb where it was not possible
to autoconnect supported profiles of remote device from DUT after
pairing is completed.

Change-Id: Ied8e0dcfd1f6b9c98a89929f05257957c13a95fe
CRs-Fixed: 584889
Bluetooth: Destroy BT Dialog on BT power off.

Check for Bluetooth off Broadcast to destroy disconnect
dialog when Bluetooth is turned off from power widget.

Change-Id: Ie556a17c7d574f77da5181c08705648ebf5733cc
CRs-Fixed: 579028
Reorganize and clean up lock screen section

- Move the option for enabling widgets to the top of the widgets header,
  as it is 1) the most important option in that section and 2) most
  likely what the user's going to be looking for first.

- Use a simple "custom widgets" title for enabling widgets instead
  of the verbose "widget pager" term.

- Shorten and simplify overly long, hard to parse space-hogging
  summaries.

- Move "slider shortcuts" out of the widgets section.

Change-Id: Iac1b55a6b976c5645ca7f46e7fdf0821396e1100
Forward port CM Screen Security settings (2/2)

* Lockscreen Vibrate
* Slide Lock Delay
* Menu Unlock
* Home Unlock
* Variable size pattern lockscreen
* Toggle dots/error pattern visibility

Forward port from cm-10.2, adjusted for 4.4

Change-Id: I0dda524830d8dce571910eb1fbd66d5b5af11bff
Settings: CA translations

PS21: Corrected White space and copyright text and more strings

Change-Id: I39431eb8f78ec6630433b2c346591ab4f696e796
Settings: IT translations

Change-Id: I57439a2d103f3544019af356752f95148eda22f0
Setting : TH translation

Patchset2 : fix wrong xliff and wrong translation
Patchset3 : fix missing backslash

Change-Id: Ifbb21859b23677038f7b0f2659eb5b39f1e33154
Merge "Settings: IT translations" into cm-11.0
Merge "Settings: CA translations" into cm-11.0
Merge "Settings: PT-BR Translations" into cm-11.0
Settings: RU translation

Change-Id: I7d3a188bb4e75b78af06d182460e6f1659c2c867
Settings: ES translations

- Ported from cm-10.2

Change-Id: I5afda485ff8093ce10a53c94c017c4d511fe75ec
Settings: LT translations

Change-Id: Ibde00dcf490fbcdedb6fdfb0c3c37aebf1a4b66f
Merge "Settings: ES translations" into cm-11.0
PrivacyGuard: Specify a default value in Settings.getInt method call

* While privacy guard is enabled by default, the default value specified
  here is returned only when the setting is not defined or not an integer.

Change-Id: Iaedffcc76a23a310aa7915f6a42ccce83ba5d2a6
Settings: NL translations

Port from cm-10.2 and some new translations

Change-Id: Ifd2775748aeb23c6e13aea336cffd886676af703
Settings: PL translations

Port from cm-10.2 + enter missing elements

PS2: Delete (all i hope) unnecessary whitespaces/tab, carriage returns and fix some errors (thanks Piotr)

PS3: Fixing, fixing (thanks Mateusz). Delete carriage returns in cm_strings

PS4: Delete unnecessary tab

PS5: More fixes (thanks Piotr)

PS6. Moar fixes (thanks Mateusz)

Signed-off-by: jereksel <jereksel@gmail.com>
Change-Id: I0ea68adeb5e32b4ced9ae90c8c61eb74a0843beb