Profiles: fix expanded desktop settings not applying

Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296
Settings: Improve some strings

 * Apply https://github.com/CyanogenMod/android_packages_apps_Settings/commit/6de9905cfc5dfc85e8c08f29f87f01a0cc13ef48
 * Use multiplication symbol for lock_pattern_size_*
 * Capitalise "Kernel Samepage Merging"
 * Rename various Quick Setting tiles to better match how the features are described elsewhere
 * Shorten dynamic tiles string
 * Change a couple of profile options
 * Capitalise Wi-Fi and Bluetooth in App Ops

Change-Id: I6a89c3d8017b66ede80d3b567374133733bb8168
Settings: Fix "Use actual storage type of sdcard/usb (1/2)."

Fixes http://review.cyanogenmod.org/63744

The original patch used the same string ids for sd in both cm_strings.xml and strings.xml.
Change them so there isn't a clash causing the wrong strings to be displayed by always prefixing the aosp ids with either sd_ or usb_.

Change-Id: Iad509123a9b4b93677b6ec06f15c34d9b0f57165
Settings: Change labels for MSIM

Change-Id: Iec1bca8a51e1417035e4c4d008a815043c0dcb41
Modify the Development shortcut help text

Change-Id: Iaa6d87f5044a46e8c0f8d88a4fc9bf9a494188b8
DeviceInfoSettings: Update the cpuinfo parser

Parsing /proc/cpuinfo for the processor type assumes a format that
isn't true in later kernel versions. Update the parser to be more
generic and search specifically for the "Processor" descriptor

Change-Id: I9d5bbf29a8383fcb9357a6950dea4202b05f50ab
Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523
Add support for single color notification LED (2/2)

Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87
Fix light preference padding

* Based on normal list preference

Change-Id: I2ae4a512ce1f5e6b6613885a755e9d7fbb0ff4c6
Don't try to restore Set on Boot settings before decrypting

If encryption is enabled, BootReceiver will not be able to find
the performance preferences and set sys.{cpufreq,iosched}.restored
to true, inhibiting the second invocation after decryption from
doing so (because it thinks that the settings were already restored).
This patch fixes that by not attempting to restore settings while
/data is not yet decrypted.

Change-Id: I8bfe1cda856f344995e5528ebfb9c894701b395e
Automatic translation import

Change-Id: I705ae50cb4b345f56509ee00ceefbeb138f5a4a0
Settings: TRDS 3.0 and new theme engine preparation (4/4)

For the one who do not know this feature see as reference
the first two versions here:

https://github.com/SlimRoms/frameworks_base/commit/b330fde28306286572ba390e451a72539c0c3576

https://github.com/SlimRoms/frameworks_base/commit/3194015737b7944b4185fca007b8d167a0675cd8

we got now over a year now a lot experience how to handle the qualifier fallback
as well how to theme it and how to handle other apps. Based on this knowledge we
redid some parts of TRDS engine with following new features/additions and fixes
to have now a final perfect working TRDS

- compared to the old versions where it was needed on some apps to restart them
  in background this is not needed any more. All is handled about the internal
  AOSP resource handling and on qualifier change the caches are cleared
  and the apps get an onconfigurationchanged to restart the activity
  like it is doing on orientation change eg
- inverted folder is now depreciated and the new folders are holodark
  and hololight which allows on the one hand a dark theme (at least
  how TRDS started) and a light based theme hololight
- This name change is mainly because of the new theme engine which
  will come which uses this as base to add 2 external themes at the same
  time and give the user the ability to switch between them. But this is
  still in early stages and this commit is just the preparation for it
- Two new automodes are now integrated. User can enable the twilight modus
  which enables/disables holodark/hololight depending on the daytime...means
  on the evening it switches to holodark on normal day it is hololight.
  The other automode is based on light conditions....means that if it is
  dark outside it switches to holodark....if we have bright light conditions
  it switches immediatelly to hololight. Due of the resource cache handling now
  this happens immediatelly for the user and feels completly system integrated
  and happens without delay. A bit comparable to some navigation tool for cars
  which can switch automatically from dark to light and back
- currently the auto modes as well the manual mode switches between holodark
  and hololight. Due that we do not have currently anything hololight themed
  in the source hololight = stock theme. We will give the user the ability
  later when done to choose between which modes the user want to switch
  (stock/holodark/hololight). But this does not make sense at the moment.
  As soon as we have done the light theme or theme engine (lets see what
  comes first) we will open the ability to choose it. This is only a small code change
- a lot small tweaks and fixes went as well into the new version

Whatever this commit as usual adds the support for it. The themeing is done in the
other commits by kroz which is as well way more extended then on the older versions

cheers

PatchSet:
- derp
PatchSet3:
- tired me derp again
PatchSet:
- adapt to new qualifier structure

- listen to onconfigurationchange and mode settings value
  and let the switch
  switch if the uiThemeMode has changed. As well permit
  manual switching if automatic light mode is enabled
  and inform the user about

PS4: New light bulb icon

Change-Id: I5b857c542d92b9fd253b3556f14c790226594c4f

settings: TRDS some tweaks and fixes (2/2)

some smaller issues fixed and optimizations:

- fix twilightmode was wrong assigned to wrong value
- ligtsensor mode after first immediattely switch it does
  not allow for 5sec to switch again....after the 5sec it switches
  to current state if the sensor changed its state in this time.
  This prevends on the one hand on bad light conditions a permanent
  switch between dark/light as well it does not bring the system into
  troubles due of to much configuration changes at the same time
- get rid completly of the observe for the UI_THEME_MODE value and
  handle all over the UIModeManager
- adapt slimActions and settings to this new behaviour/method
- some cleanup and minor fixes

Change-Id: I099eb70f179149bcc519a209b93063529349f1e2

Change-Id: I5b857c542d92b9fd253b3556f14c790226594c4f

Conflicts:
	AndroidManifest.xml
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	res/xml/settings_headers.xml
	res/xml/theme_settings.xml
	src/com/android/settings/Settings.java
disable camera sounds (1/3)

Change-Id: I9c61ac497cac1af1cc8771317ada059a417b4c03

Conflicts:
	res/values/cm_strings.xml
AOKP custom system animations (2/2)

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

Thanks to Steve Spear

Change-Id: Ic692025b0db02dd01684b4e9f91d63a04f80181f
App sidebar (2/2)

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

Credits to Omnirom

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

Change-Id: I328b8eb9781fd0f4424bf53f8e5d0b7e82f0ad0a
Add Color Picker Preference

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

credits to: TeamBAMF for the original work.

Change-Id: Ie24f6917fab27b5215660f0b0aaa5427aa5b6d1e
Forward port AM/PM Style Settings

Change-Id: I1de2f7a1ec0deeecc9c9dfff3a6840f6523c12b0