Swap volume buttons when the screen is rotated (2/2)

Patch Set 7: Hide option if device not supported

Patch Set 8: Fix string derp introduced on ps7

Patch Set 9: Invert the orientation interpretations on tablets

Change-Id: Ie2166a4d50050e7a60933251bfc8cda97c42d419
Fix FC when trying to adjust radio band via *#*#4636#*#* dialer code.

Fixes:

1. Add additional strings to BAND_NAMES array for additional bands from ril.h
2. Fix logic when adding band strings to selection list (for loop ends before entire array is read)

Change-Id: I5ff883a469f757a30c71d7d72c8f6ace19ce7a4d
Signed-off-by: Andrew Xie <andrew.w.xie@gmail.com>
(cherry picked from commit 4845045bb2dfd9b1a67f9f0c62bb44bfc5152284)
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: Ic3113222580ebe8cc8e43d3dad7a15e041448c53
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
Bringing basic Pie controls to CyanogenMod. (2/2)

This is the settings part of the pie commit, for the real implementation
look in frameworks/base.

Patch Set 3:
* CyanogenMod Code Style

Patch Set 4:
* Strings cleanup
* Better integration into CyanogenMod system settings UX
* Some related cleanup in SysteSettings.java

Patch Set 5 and 6:
* Rename feature to Quick controls to match AOSP terminology

Patch Set 7:
* Remove WIP

Patch Set 8:
* Revert name to Pie controls

Patch Set 11:
* Fix broken revert
* Fix spelling of search

Change-Id: I47599316273d8e46017f49ba62a02cc55a785678
Settings: disable expanded desktop on power menu disable

If expanded desktop is enabled while the option for expanded desktop
setting is disabled, expanded desktop will remain active and the user
will not be able to disable expanded desktop without reenabling the
setting.

Change-Id: Ia91e34e5ce9f8680f64b81e5f79c2df6f0639bb2
Settings: removed "Status bar visible" expanded desktop setting for devices without navbar

On devices without navigation bar, expanded desktop is only useful
for hiding the status bar when the apps don't hide them.
"Status bar visible" setting is a no-op.

Change-Id: I16a31ec6e10c7ed11600e3b1a1d9b631f31af55e
Settings: remove Pie control for devices without navbar

Change-Id: Ie0e8994436bce1848f540b50bd15bce77276808d
Merge "Settings: remove Pie control for devices without navbar" into cm-10.1
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1

Conflicts:
	src/com/android/settings/cyanogenmod/PowerMenu.java
	src/com/android/settings/cyanogenmod/SystemSettings.java

Change-Id: I00238c56c6a2669fe0834246d340429025033c5c