Settings: add reset option to clock color and cleanup (1/2)

to be consistent. So we have now on all places with colorpicker
same logic + option per menu to reset color to default.

as well some cleanup and codestyle corrections

cheers

Change-Id: If4156c57420a3a72b3eb0f01cf8441ccc7bf1eeb

Conflicts:
	res/values/strings.xml
Settings: activate qs and notifications toggle for navring (2/2)

Change-Id: I967b247d6f0586715d1fd825b6872e5d3d2eb075

Conflicts:
	res/values/arrays.xml
Add an option to allow a (subtle) notification vibration during calls.

+ some sorting and string corrections

Change-Id: I8a5e1d15d17d56089158b24f9a4b246ae6e60285

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/sound_settings_rom.xml
	src/com/android/settings/slim/SoundSettings.java
Clamp date setting for the SetupWizard as well as Settings.

We fixed this for Settings in 7ccfa0614caeba8eba5d3040a90541a24fa1e6c9,
but @sonymobile.com point out that it's still broken for SetupWizard.

Change-Id: I59348200105246f3ed7c0892e5f19b901d3e95ac
Dont enable Wi-Fi if it's not toggleable in flight mode

Dont enable Wi-Fi if it's not toggleable in flight mode
by restoring the return which was removed by
e78c1879058571c00879f0d3e756951302adf513

Change-Id: I8ca5a3e9b3f36f148f08ce97b8a2b854bf7de21c
Let accessibility feature instructions scroll.

Change-Id: Ie0a9eae16e8bf2ea6033a9e5e4e2c149ab4859cc
JIRA:CYAN-1531
Storage Settings: Allow user to trigger a volume rescan

This change allows to trigger a rescan of a volume with the next restrictions:

- Internal volumes if they are emulates
- Primary volumes
- Non-Removable volumes

Requires http://review.cyanogenmod.org/#/c/44585/

Change-Id: I42aebc9fc0d3530cf0a3efb4d2139b688707d43d
JIRA: CYAN-1391
Issue: https://jira.cyanogenmod.org/browse/CYAN-1391
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	res/values/cm_strings.xml
Settings: Introduce Privacy Guard Manager

Due that on the one hand a lot user are not familiar
with permissions and how to read them and on the
other user want to have a faster easy access to
setup privacy guard for several apps this small
manager assist the user to setup.

Privacy Guard Manager shows a list off all installed apps
Per default it shows only user apps which have critical
permissions privacy guard can protect.
The user can optional show in the list as well all system apps
or turn off the filter to show all apps undependent of the
permission the app has. To activate privacy guard for an
app a simple click on the entry activates it so that the user
can go fast trough the list. Longpress opens app detail page.
Initial help dialog tells the user how to use it.

Due the filter user who are unfimiliar with permissions can
fast see which apps are effected without deeper knowledge

cheers

SlimRoms

PatchSet3:
- go inline with AOSP style
- move PrivacyGuard by default into manager
- change behaviour off active icons

PatchSet4:
- change app icon size to 36dip

PatchSet5:
- string change

PatchSet6:
- add reset option to disable privacy guard for
  all shown apps in the list

PatchSet7:
- Cleaned up the intro dialog a bit.

PatchSet8+9:
- cleanup
- fix alignment of top checkbox

PatchSet10:
- fix permission filter

PatchSet11:
- improve icon loading

Change-Id: I6bc886393bf90f8daed92b66d5fee1ce9e1accd0

Conflicts:
	proguard.flags
	res/values/cm_strings.xml
Settings: privacy Guard enhance app logic

This commit changes the following

- do not show apps signed with the plaform certificate at all
  (like settings, systemUI, android system etc)
  IMO the user should trust the android signed apps to be save and this will
  prevent weird behaviours user can get when they activate it on this packages
  all other system apps (like calculator, browser) and all which are not signed with
  android key are not effected.

- to go inline with AOSP disable the checkbox in detail app screen
  for built in apps

cheers

SlimRoms

Change-Id: I12b5522f6e58047173778381fb7290bb1c71bab3

Conflicts:
	res/values/cm_strings.xml
Settings: fix notification category string derp