Return of hardware keys backlight settings

Credit: CM

Conflicts:
	res/xml/hardwarekeys_settings.xml
Camera button support 1/2

ported from: https://github.com/CyanogenMod/android_packages_apps_Settings/commit/c933e9205f5bef528ee09433a078cd8e626d9424#diff-5ef8d74198f3dd4a8c550fcee1e21d26R232

credit: CM
[SQUASHED] Active display [2/2]

PS2:
Add pocket mode option, available if the device has
a proximity sensor.

PS3:
Add option to include ongoing and non-clearable notifications.

PS4:
Allow brightness control from 0% to 100%

PS5:
Refactor for release

Change-Id: Iae55640a31df68542c2af5d95097811b8fb1f66f

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/system_settings.xml

Active display: Add options for date and am/pm [2/2]

Change-Id: I6af47b2fd47e77398eee98cc6e30b8fcf1a44d45

Conflicts:
	res/values/strings.xml
	res/xml/active_display_settings.xml

Active display: Add sunlight mode. [2/2]

Change-Id: I513c2ef1555ca48dfb553f80ca687d1ca9f27c55

Conflicts:
	res/values/strings.xml

Active display: allow hiding low priority notifications. [2/2]

Change-Id: I244743ed1a32f59065af3c4507f4132b7d3b0d72

Conflicts:
	res/values/strings.xml

Active display: Allow apps to be excluded from being displayed [2/2]

Change-Id: Ieb6368c050f5b46eec7398ab0162dc4fbf00a392

Conflicts:
	res/values/strings.xml

Active Display: Add always show pocket mode. [2/2]

Change-Id: I6f791c5727e98749780a5e9996e20d387ed98fa6

Conflicts:
	res/values/vendor_arrays.xml
	res/values/vendor_strings.xml

[2/2] OmniGears: Pimp up ActiveDisplay

Base part: https://gerrit.omnirom.org/#/c/2819/

Change-Id: I8abf7a3018e7e0168860861ac240975cd1f8a2b0

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

[2/2] OmniGears: Fix pimp up ActiveDisplay

Base part: https://gerrit.omnirom.org/#/c/3380/

Change-Id: Ief2aa6802ad25a86b49d06bab1b9e34140dc5db5

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml

[2/2] OmniGears: ActiveDisplay (rework interface)

really fix AD buggy stuff
tested with Music play
tested with No lockscreen
tested with faster screen turn off
check all sensor going off if AD not Showing or Disabled
fix notification posted/removed
make AD using System Window so it will covered all screen
fix Navbar translucent if Lockscreen Blur merged :P
now using Rounded Image
also introduce new RoundedImageView widget
 courtesy of @vinc3m1 (thanks)
fix build
fix sometimes screen turn off after unlock because screen timeout (hopefully)
now using new parser to get Notification data (thanks @Achep for the parser)
rework lightsensor manager
add NotificationUtils
fix brightness sometimes not changing

add support applications privacy mode (will not show content message if enable on each app)
see http://jira.omnirom.org/browse/OMNI-600

allow bypass AD if no notification and lockscreen is secure
see http://jira.omnirom.org/browse/OMNI-594

fix proximity always enable after adding new feature allow bypass AD
fix parsing notification data from app with targetSDK < 17

fix excluded app value (no body notice this broken since AD merged into OmniRom xD )

add option to allow bypass AD

rebased
change string to better explanation for feature
thanks @Pulser and @Jiangyi

Change-Id: Iec1915ec5faeaaa6b599916bd4195ed59f2e1653

Conflicts:
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

[2/2] OmniGears: more improve Active Display

1. fix http://jira.omnirom.org/browse/OMNI-651
2. fix http://jira.omnirom.org/browse/OMNI-641
3. add http://jira.omnirom.org/browse/OMNI-652
4. Add option Double tap to sleep every where
5. Add option to show and choose wallpaper behind active display
6. Allow to show numbers of notification on Handle
7. minor improvements
8. add battery circle around handle

PS8
string rework

PS9
recalc brightness to % value

Change-Id: Iceaae6eecbdd3dbce4347b2e3994272b10f3c490

Conflicts:
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

Remove active display wallpaper option

[1/2] OmniGears: Active Display add shake event

PS11: Fix strings

- correct dependency option
- added option to bypass Quiet Hours (default now is not , that is 'privacy is first' decision)
- added option to configure time between shakes
- added option to set disable timeout
- added option to run like "PA PEEK"

PS12:
-disable default event with the other shake settings
-simplify titles

Change-Id: Ibdf35b1e323fa15bf2e5da9ca8225533cd4c42c4

Conflicts:
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml

OmniGears: AD brightness - do your math homework max :)

http://jira.omnirom.org/browse/OMNI-752

Change-Id: Ibb123378c47a6e4c337740c95d5eb4eead4cd4b5