Wifi: Allow configuration of Ad-Hoc (IBSS) networks

Show Ad-Hoc (IBSS) networks in the list of available Wi-Fi networks and allow
to connect to or create new Ad-Hoc (IBSS) networks.

This requires the IBSS changes in frameworks/base and external/wpa_supplicant_8

Change-Id: Ie44c47753100bbf8e691446e69b8d31659f64e3b
Wifi: Enable IBSS options only if IBSS is supported

Show IBSS network options only if IBSS mode is supported by the Wifi driver.

This makes use of the new API isIbssSupported() of WifiManager. We have to be
careful to make the query only after we reached WIFI_STATE_ENABLED.

WifiSettingsForSetupWizardXL is left out because it does not handle these
states.

Change-Id: I072c5cc6ed36305806b469cf05c4786d22bfd418
Add back backlight curve adjustment.

PS2:Fixed ok string, moved AutoBrightnessCustomizeDialog.java out of CM folder
PS3:Fixed minor derp

Change-Id: I4f55091c5d8c72301c0985fa8463d198f86a7d21
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:

	res/layout/auto_brightness_list_item.xml
	res/layout/dialog_auto_brightness_levels.xml
	res/values/strings.xml
	src/com/android/settings/BrightnessPreference.java
Merge pull request #15 from Nick0703/cm-10.1

Merge latest AOKP sources.
Move pie controls to system settings
Move status bar settings to system settings
Merge pull request #16 from IvanBrazza/cm-10.1

System settings cleanup
Quick Settings Pulldown: Left or Right side option (2/2)

Patch set 2 : Update dynamic summary
Patch set 3 : More dynamic summary work
Patch set 4 : Fix arrays, reduce duplicate code
Patch set 5 : Fix string
Patch set 6 : One more string fix
Patch set 7 : String nitpick

Change-Id: I181c95b722fbcd8c5f491ea53c518ccef0933495
Settings: Quick Settings pulldown without notifications (2/2)

If no notifications are present option to pulldown quick settings
directly. This options respects stock behaviour as well as left and
right edge quick pulldown.

Change-Id: I8ae28cc2ee48a2713531c7cc4f4175a5b21d336d
Settings: Quick Settings pulldown without notifications (2/2)

If no notifications are present option to pulldown quick settings
directly. This options respects stock behaviour as well as left and
right edge quick pulldown.

Change-Id: I8ae28cc2ee48a2713531c7cc4f4175a5b21d336d
Hide QS Panel Toggle [2/2]

Patchset 2
- some smalle corrections
- change of logic
- some cosmetic fixes

cheers

Change-Id: I6a5d4d8420e5337cc9636482e21a048d496694ce
Quick Pulldown, Pulldown settings & hide QuickSettings patch.

Correction needed for quick pulldown, preference settings & hide QuickSettings, slight adjustments for full implementation.

Change-Id: I52fffe42eeb73d07279ca561665f39f53dcaa605
Merge pull request #17 from xLaMbChOpSx/cm-10.1

Quick Pulldown Left/Right Options, Switch to QS & Disable QS. (1/2)
Settings: ElectronBeam get some love (2/2)

This commit removes the CRT On animation because it is just
not nice implemented from AOSP and not really needed. If ppl
turn on the screen they want to see fast their content. But still
CRT animation needed some love. So this commit introduces another
SlimBean mode. Crt animation mode:

Features:
- Crt Off animation controll (on/off like it was before)
- You can select different crt off animation modes
- always horizontal (stock behaviour)
- always vertical (screen collapse from left and right to the middle)
- orientation dependent (means portrait = horizontal animation, landscape = vertical animation)

cheers

Change-Id: Ia6fa32dd5faf3910780c728aa55705b04b6d2638
Bug #8 fix tile reorder

Change-Id: I7283c7095d94d54be524429a07be3b63ca8d8242

Conflicts:

	src/com/android/settings/cyanogenmod/QuickSettingsUtil.java
Fix build

Change-Id: I5036b6530954897c8c03da90765efda4118b041b
SECURITY FIX: Fix package uids being reused between uninstall and rei…
…nstall of different packages.

Policies for older packages were being granted to the newly installed package that got the recyled uid.

Change-Id: I13e00ee5d2bfad8d11ce043536e9d2894b61a6cd
Fix the message when Bluetooth is turning off while on the tethering menu.

Currently says "Turning Wifi off..."
This change will display "Turning Bluetooth off..." instead.

Change-Id: I741e07f3b583e8e4cfb51073fe2556f58d8a89a1
Signed-off-by: Ryan Baxter <rbryanbaxter@gmail.com>
LockscreenPattern: Fix toggle dots/error pattern visibility

This fix the issues dot/error pattern state doesn't save.
also cleanup redundant code.

Change-Id: Iebaac9679ad9c621d62effd700689485db7c252a
Adding configurability of frequency cap (min/max) files' path.
This way those devices that have a special path for
frequency caps can overlay it in the given device's
resources for Settings package.
It's defaulting to the general paths that are used
in most of the kernels.
It's usable for example in endeavoru device tree
where the max cap can only be set through
a different sys path.

Change-Id: I1d10e3d8e620dccefaf749c4c0c0066cc7127851