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
PT-BR: Update translations

Change-Id: I32177f7510f457cc983d51edc23d648963faf659
Added hungarian translations

Change-Id: Icf92cf9693c4b24f8bb6a825091ccc38366e1d5e
Settings: Latest Danish merges

Change-Id: Ide6254d1d7f56238f310deb5c82600e4099fb495
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
Jpanaese : update translation

- Wi-Fi mode
- Swap volume key
- Pie control

patch-2:

- revised
- rebased
- more missing entry

patch-3:

- revised

Change-Id: I887eb396e387cbb5ce039fb09bbdbb4b8598c336
es_ES: Add spanish translations

- Reorganized strings same as default
- Added Ad-Hoc networks
- Added swap volume buttons
- Added Pie controls

Change-Id: I49837bfb7a933b640010a577da07b265025fbb2a
Settings: use checkbox for expanded desktop setting for devices without navbar

On those devices, there are only two settings an a checkbox would fit better.

Change-Id: I394736dacf7765f7fdda47d6d743d7479bd4de7e
Fix exception on rotation.

Change-Id: I6cc653db3397074fb1cd9aa12b06511ce2cc3c9d
JIRA:CYAN-731
Merge "es_ES: Add spanish translations" into cm-10.1
Merge "Added hungarian translations" into cm-10.1
Merge "Settings: Latest Danish merges" into cm-10.1