Forward port "Display options: allow configuration of wake on plug behavior"

From http://review.cyanogenmod.org/#/c/47159/

Change-Id: If1d50cbad76763bb8e12b2e7a4f7c21f42a58f31
DevelopmentSettings: Fix up save Advanced reboot state

This introduced on http://review.cyanogenmod.org/#/c/54859/

Change-Id: Ic4e2e5c5c3e4bd7649b6d715462c1bb63484a692
Merge "Forward port "Display options: allow configuration of wake on plug behavior"" into cm-11.0
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
Settings: Initial DE translation

PS1:  Forward port strings from CM10.2

PS2:  Add translation for:
      * SMS security
      * Font size control
      * Longpress back to kill app

PS3:  Add translation for:
      * CAF bluetooth strings
      * Hostname setting
      * Privacy guard advanced settings menu link
      * Adaptive backlight settings
      * Performance profile settings
      * Power connect/disconect notification

PS4:  Add translation for:
      * lockscreen shortcut configuration
      * navigation ring customization
      * navigation bar customization
      * hardware key settings

PS5:  Minor cleanup
      Add translation for:
      * APN settings
      * untranslated AOSP strings
      * Circle Battery
      * Advanced Settings

PS6:  Minor wording changes
      Add translation for
      *cLock settings

PS7:  Add translation for:
      * Display wake on plug
      * Wi-Fi country code
      * Display rotation

Change-Id: I26c43659973cd2e8c2fc99b5345ee03fa50ff084
Revert "Settings: Add AOSP dummy strings"

This reverts commit 680b6bc8f5d4265fbc762d89ab4259730cee8339.

Google removed those strings with 4.4.1

Change-Id: If67f01234ddca36879a24c616f4843972048a8e3
Modify Changelog to fragment

Patchset 1) Initial commit
(gweedo767)
Patchset 2) Clean up XML and imports
(gweedo767)
patchset 3) removed setHasOptionsMenu
(gweedo767)
patchset 4) removed hardcoded string and one unneeded string
(gweedo767)
patchset 5) fix spacing in Manifest
(gweedo767)

Settings: Remove Changelog Summary
Remove the redundant summary to the Changelog in About Phone.

Change-Id: Ia808792e31018ca91757b1956c14724a0e6f5c53

Ported from cm-10.2

Change-Id: Id39c3d44cf364b98bd8450db378d3dcfe7301fbb
Merge "Settings: Initial DE translation" into cm-11.0
Add WhisperPush category to security settings

Change-Id: Ib216cf8d8c8b5785d940d4ec701b522ffaf88b54
Revert "Single pane for 10" Settings"

This reverts commit 56f51a8927f53bee81145fe29e63af8a87e6fd1b.

Change-Id: If5c7be247caeeb4ec3e0bceed86bc5763d74f927
Wi-Fi: Manage Wi-Fi AP priorities

AOSP has a basic LRU priority for Wi-Fi networks (last connected has more priority).
This changes added the ability of graphically set the priority of any of the configured
Wi-Fi networks through Settings -> Wi-Fi -> Advanced Settings -> Wi-Fi priority.

Port from cm-10.2:
* Added ic_grabber icons

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ief590e799cdb7ef760b631d0b22d9719f867393f
Lockscreen: Add checkbox for quick unlock

This is the Settings part needed for:
  http://review.cyanogenmod.org/#/c/54898/

Change-Id: Ibd12681a972806da4bd6f87c341ddd404dbabdd1
Settings: remove force overflow button

As of KitKat, the overflow button is always shown regardless of if
a physical menu button is present or not.

https://android.googlesource.com/platform/frameworks/base.git/+/ea04f3cfc6e245fb415fd352ed0048cd940a46fe

Change-Id: Ia05756248e9f55ac68bf31abdb7327edf6a806c4
Merge "Settings: remove force overflow button" into cm-11.0
settings: bring back volume key cursor control

Framework part seems to have survived the merge.

Move volume key cursor control from language & input
to button settings.

Change-Id: Ice2b266e8fdbcdf805d36d8f2e335b569e57be65
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_packages_apps_Settings into cd-4.4