Bluetooth: Fix to show internet access as marked when pan is connected

isPrefered is always true for PAN. So internet access menu checkbox
is always marked on. Marking internet access menu checkbox based on
pan connection status should solve this issue.

Change-Id: I4343cc6f1b46377caa54aa3d39c08489ff14adac
CRs-Fixed: 550731
Bluetooth: Set alias name only through Rename option

Set the alias name only when user is trying to change the
name using the Rename option of paired device.

CRs-Fixed: 539420
Change-Id: I415b6a962d8e7884b67d37b94c04df19e2c23012
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: 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
Forward port Status Bar settings (2/2)

Signal / Clock / Notification Count / Brightness adjustment

Forward port from cm-10.2, adjusted for 4.4

Change-Id: I1632b6454a3fd5240179dfed34b1f332a7a37cda
[1/2] Settings: HALO

Forward port from jb43.

PS1: Initial port
PS2: Fix conflicts with notification LED
PS3: FIx derp in strings
PS4: Fix derp in pa_arrays (tag not closed)
PS5: HALO Mods

Change-Id: I7de6a9157415fe05b0a59d8260e33cc1527a342d

Conflicts:
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	res/xml/settings_headers.xml
Power menu QS tile (2/2)

- Simple press goes to power menu dialog
- Long press goes to reboot dialog

Change-Id: Icbf64f014d1352d16823caf7bc7c0eec1e0c47d3
Power menu into navring targets (2/2)

Change-Id: I95644d60b2d4db6d109bd4c75c007a43af52a2fa
crDroid version in settings

Change-Id: I305685062509c617b1292a3d508f1bd87135744f

Conflicts:
	res/values/cr_strings.xml
Navigation bar dimensions (2/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

Change-Id: Icac45d5c74f1722c1d044c6651ea686e95beade4
Enable Volume wake option

Change-Id: I63a4fb96fd245c892a5c7063451b2108a56365da
Enable volume panel style
- single
- expandable
- expanded
- none

Change-Id: Ic692336eba0dad6284dda64833bf8c5624cc4044
PS: Frameworks part is already in
SoundSettings: Show DSPManager

Change-Id: I08f91f3ace19bec9144383629c471db7f99fff5a