wifi: Allow configuration of country code for wifi (2/2)

Wifi country code handling is a nightmare - Most retail devices
have region customization in /system for each country a device
is shipped to.

This doesn't work very well for a firmware like Cyanogenmod,
where we try to support all target countries with one firmware
package.  For whatever reason, with newer Broadcom drivers/
firmware blobs, the old trick of using a universal region code
(ccode=ALL in nvram_net.txt) does not seem to work.  Who knows
what the deal is for other wifi chipsets.

The good thing is that wpa_supplicant has a standardized
cross-chipset method for setting the region code, and we
use that here.

Ported from cm-10.2
Framework part: http://review.cyanogenmod.org/54997

Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
Setings: Forward port Display Rotation settings

Originaly authored by Robert Burns (burnsra)

Settings: Fix possible NPE in Display settings
Change-Id: I186203782aa27fb4eaa77500fecb82946bfdd173

Display : Enable rotation on large screens
The auto-rotate toggle in statusbar is no longer present, so the check
is no longer valid.

Change-Id: I0a23e251b3cb793481d14ea8ad8a9079c7c0e962

Fix the spacing between displayed rotation angles
Before: http://goo.gl/QJ7hE
After:  http://goo.gl/V0alW

Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461

Settings: rotation settings for devices with hardware rotation lock
All settings would be disabled on devices with hardware rotation
lock due to dependency setting. Disable dependency to allow setting
swap volume and rotation degrees on those devices.

Change-Id: Iee0532902d59fa80666e17b3853db8e3d7ed5ddc

Add lockscreen rotation as an optional rotation setting (2/2)
This will allow the user to select wether or not to use the
rotation settings for the lockscreen.  This is dependent
upon the rotation setting being checked.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: If45c13a395e0d71b7c4cdcf484a6b8cef964ee37
JIRA: CYAN-339

Ported from cm-10.2, adjusted for 4.4

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I4f96b3f804ee4732b277c35340790f3561d69764
Advanced reboot enabled by default (2/2)

Change-Id: Ibb6f36b17809041e8cc91fd074a1364e04104a5e
Settings: MediaScanner behavior on boot (3/3)

Change-Id: I5049cea4ac2b2dd17297bbd163cc13a7429bcba4
disable camera sounds (1/3)

Change-Id: I9c61ac497cac1af1cc8771317ada059a417b4c03

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/SoundSettings.java
AOKP custom system animations (2/2)

ported fom here: http://gerrit.aokp.co/#/c/12305/

Thanks to Steve Spear

Change-Id: Ic692025b0db02dd01684b4e9f91d63a04f80181f

Conflicts:
	AndroidManifest.xml
	res/values/cm_strings.xml
	res/xml/system_ui_settings.xml
	src/com/android/settings/SettingsPreferenceFragment.java
App sidebar (2/2)

Change-Id: I9aae5e80960e5037e7aa69019004d4dda91f282a
Setting: Add support to enable/disable Electron Beam (2/2)

Change-Id: Ia3060c2e66ef9a21c09e1007dc3b6a016c25a076
[2/2] ElectronBeam: Add an alternative screen-off animation

Change-Id: I9a865715d660831c8b4fe7ddc1f8e070579d1ac0
[2/2] Add battery level around unlock ring

Credits to Omnirom

Change-Id: I0115f0a6f52b02f3f3da0412ae4fa0dd77c02ae0
Allow toggling of status_bar_show_battery_percentage [2/2]

Change-Id: I5b95d6009a786d313233caed6faf5f9272a59d86
Forward port statusbar brightness control

Change-Id: If9a5e9e61bd4e49e83a5cea7ba5aa296c7120328
Custom carrier text [2/2]

Change-Id: I328b8eb9781fd0f4424bf53f8e5d0b7e82f0ad0a
RAM bar (2/2)

Thanks to @kufikugel for hole code ported from 4.3

Change-Id: I33759e87434109e28a0f25be097b5b4aebb43606
Port OnClick Fliptile animation. (2/2)

credits to: TeamBAMF for the original work.

Change-Id: Ie24f6917fab27b5215660f0b0aaa5427aa5b6d1e

Conflicts:
	res/values/cm_strings.xml
	res/xml/quick_settings_panel.xml
Settings: KO translations, Cleanup

Change-Id: I20d5095717ae3df2c030a7b021d5d71097604766
Add center clock (2/2)

Change-Id: I4b7faba56ef44941147d36e9e252cb14860667de

Conflicts:
	res/values/cm_strings.xml
	res/xml/status_bar.xml
Forward port Clock Settings

Change-Id: I1de2f7a1ec0deeecc9c9dfff3a6840f6523c12b0
ListView Animations (2/2)

Credits to Team ThinkingBridge

Change-Id: I9be8e321d4a47b6718cd461893365591793c15d5

Conflicts:
	res/values/cm_strings.xml
	res/xml/system_ui_settings.xml
[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:
	AndroidManifest.xml
	res/layout/installed_app_details.xml
	res/values/pa_arrays.xml
	res/values/pa_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/applications/InstalledAppDetails.java