Handle cancellation of the 'enabling PrivacyGuard' alert box.

I noticed that the option could remain ticked but not actually enabled
if the alert box is cancelled.

Change-Id: If9a4e88641a5e4283d6ea16c17ca4461841580e3
Settings : FR translation

-Add new translation
Patch set 2 : rebase and add new translation
Patch set 3 : rebase and add new translation
Patch set 4 : rebase and add new translation
Patch set 5 : rebase and add new translation

Change-Id: I5ffd8d73a47e1b9df5629875021aea992ed9d8b3

Conflicts:
	res/values-fr/cm_strings.xml
Settings: ES translations

Change-Id: If2d8a7bc620ae25a9d922c392413526e6e7ac36f

Conflicts:
	res/values-es/cm_strings.xml
Fix derp.

Change-Id: I2766f4c89460c967e32349be008e38b3600b7e76
Add option to hide music controls in lockscreen.

Change-Id: I736df60139f1b977838c16136c0c30198633fcb2

Conflicts:
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Settings: NL translation

ps1: Privacy Guard

ps2: QuickSettings: Camera tile

ps3: Add 2G/3G option to profile connections

ps4: Fix array

Change-Id: I4b8e8548130406b85ebd82b31ce0429d13458300

Conflicts:
	res/values-nl/cm_strings.xml
Settings: Update German translations

Patch Set 1:     * Add translation for electron beam enable/disable
Patch Set 2:     * Correct commit message
Patch Set 3:     * Add APN delete dialog
                 * Change wording
Patch Set 4:     * Add wake-up options
                 * Add Wi-Fi triggers
Patch Set 5:     * Add missing space
                 * Shorten some strings
Patch Set 6:     * Add BT triggers
                 * Add privacy guard
Patch Set 7:     * Add camera tile
                 * Add 2G/3G in profiles
Patch Set 8:     * Rewording

Change-Id: Ib33bde6313519aec042b70470df96196de660d4f

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

Change-Id: I7dfbb64334e0e8e7f98d38bf503c053ff1880658
JIRA:CYAN-1550
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
Lockscreen options : Camera/widgets toggle

As per https://jira.cyanogenmod.org/browse/CYAN-1243
this commit allows user to control visibility of widgets/camera on lockscreen.

Change-Id: Idab2ff4f058e355a1e5936531d9a264b1fea16a1

Conflicts:
	res/xml/lockscreen_interface_settings.xml
Lockscreen Options : Fix toggling of states

Every time we set ourselves as the active admin, the previous states are reset.
Hence set both camera/widget states each time one of them is changed.

Change-Id: I678a8155a04ef3822b49bcfb997a248ea99c128c
Show the "no action" summary for unitialized gesture values

Change-Id: I023ee587669103aa4d2a819af700ce3daa53695d
Lockscreen Options : Disable keyguard camera only

Current method of disabling camera does so for entire system, not just
lockscreen. This patchset addresses that.

Change-Id: Iba357214df36ddd8afd49a3e39abcaaba4ec808e
Remove unused string.

Change-Id: I42efede12c7a8e501dcef5e6eed84839ec586716
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
Settings: AF translations

Change-Id: Ia2571ce89ea3d688690d85b9fcc18037a9a8b91d

Conflicts:
	res/values-af/cm_strings.xml
Settings: Update AF translations

Change-Id: Iebf79641d70936b83f8c9ab693ca724b5f18f310
Settings: PT-BR update translations

Change-Id: I6123a8bb148cc9a9b9606ec828b4f8ba6d873134

Conflicts:
	res/values-pt/cm_strings.xml
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>
Settings: PT-BR update translations

Change-Id: I47bcc64f69884397ed53de82ac45f439a07f377e

Conflicts:
	res/values-pt/cm_strings.xml