Revert "Re-add auto brightness configuration UI (2/2)."

This reverts commit 81c443b99a1de4b96a36bc0026aa21a0f0b5fba1.

Conflicts:
	AndroidManifest.xml
	res/values/attrs.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
Re-add auto brightness configuration UI (2/2).

Change-Id: I6c56a48fa2145c58a5f203ed56051451ef3f977d

Conflicts:
	AndroidManifest.xml
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
Settings: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean modes to indicate low battery
     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Change-Id: I372c566a2d84b04856d0be518a894c3699d00f8a

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
settings: add back notification shortcuts + slim classes we need

this will add back slims notification shorcuts feature as well
we add common slim classes we use for navbar navring pie etc
see fb commit for more details

Change-Id: I798d6597a8894fa47718fa6310b7965239130a3a
settings: add Battery Styles the new way 2/2

google draws now the battery icon which fits perfectly into our
concept. Beside that the batteryview is as well used on QS.
So we readd our battery icons (icon, percentage, icon with percentage
circle, circle perc, dot circle, dot circle perc) back and all are
drawn. As well the icon does not only change on statusbar as well
on QS it is reflected.
As usual color options are present for the User to style the icon

Change-Id: Iaedede55e14d99f79e560e74188692c894f2d961
[2/2] Power connect/disconnect notification support

Change-Id: If2103d5cf2a58d5dda7e83853ef681872795c710
Don't show keyguard on top of CryptKeeper

The fix in Change Ifbe4cdf40e3b76d2069ecace940f85fa58f31187 causes
keyguard to be more aggressive about showing itself.

CryptKeeper itself should explicitly dismiss keyguard.

Fixes bug 11680832

Change-Id: I87287762b73bdffc6f1800379f02f70f4bd873a8
Settings: Slims navbar and navring customizations

add back our navbar and navring tweeks. This is a completly overworked
version compared to the one we carry about a year now. Small glitches
we had are now all fixed. As well it does not need to register extra observers
code was much slimmed down and improved.
Beside that we adapt the 4.4 navbar changes to our system so that it it
consistent with the new 4.4 UI
This patch adds:
- Navbar up to 5 buttons
- navring up to 5 buttons
- dynamic menu behaviour
- landscape navbar options as well now on tablets
- button glow color
- button icon color
- navrign and navbar user can set system or custom icons
- navbar height and width
- enable/disable navbar and navring
- actions are vor navbar and available for the whole system over SlimActions.java
	back
	custom app or activtiy
	home
	kill app
	last app
	notification drawer
	ime switcher
	power menu
	qs pannel
	recents screen
	screen off
	screenshot
	search
	torch if it is available on the device
- navring has targets for handling vib/mute/sound
- added Color class based on blk_jacks idea which first grey an icon out
  and then color it. This gives way better results. As well it fits now
  perfectly with the new 4.4 UI. Put it on a central place so that it is
  from everywhere available. notification shortcuts adapted to the new class
  place
- complete new icons thanks to kroz who has redone all for xxhdpi
- our slim special swipe drag drop press longpress options support
  like on 4.3 this two features
- a lot lot fixes as well on current google code

Change-Id: I463bc668efd3f137fb49c7007e6712b79fde2f39
Settings: statusbar reflect am/pm based on the global user settings 12h/24h format (2/2)

for statusbar.

As well fetch the correct color from systemUI

Change-Id: I0dc73b57812a02d3ebba1d5417d03fd2cf5de810
Settings: fetch navbar color from systemUI

for better theme support on our new theme engine

Change-Id: I15ef4529578ed6260042c14c3c330bd2153ca561
Settings: order wifi display to the right place

Change-Id: I20ccbca4e493d7a794586e694139afa383f7f9d8
Settings: sound on power on pluged needs an onpreferencechange listener  now

due that we are using now only onpreferencechange due that
onclicklistener is depreciated we need to set the onchangelistener.

Add them to have it working.

PatchSet:

Preference allone still  needs onClickListener...stupid google

Change-Id: I4c6c67207b52a28b17d77513702ea38311b9e900
MediaScanner behavior on Boot (3/3)

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
PowerManager: Don't wake up device when charger is plugged/unplugged (2/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

added as well config option to disable volume rocker wake for devices
which do not support it well

Change-Id: Idf37087b4cdee94c8557d67ab3d491d65bc60c36
Add Camera sound toggle [1/3]

Change-Id: I77e2259f753ec8a37e5dcc97df100b588a45d3b0
settings: Slims new Power Menu (2/2)

gmillz already prepared it and I finished it now. Idea was to be more
flexible on the power menu but at the same time not complicated.
So we adapted Power Menu to our dslv system which allows to sort
drag swipe etc the entries.

So user can now have the power menu how they like it.
As well custom apps or activities can be added

So currently:
airplanemode
custom apps
screenshot
reboot
sound
power off

are available as options to add or remove or customize with our
easy dslv settings

As well we are only using our central classes for it....means adding
whatever shortcut is mostly only a 10 line change in future

Change-Id: I8a3f99bdd0ffeab84b8b4067562d81f09c862273
settings: add summary to hide carrier label

on notification drawer.

Change-Id: Id2aff4accd5135e07585187915f7ac81b5276663
Settings: add support for devices without multi-color LED

Change-Id: I884d74692ace44856c66f2e027b4903a94fc9fb2
Fix battery and notification pulse light summary onResume

patch before broke it

Change-Id: Ia7863b9ede70a2946c2d5c7c9e2cad5abce379dc
Add help url for remote display.

Bug: 11736504
Change-Id: I83d278731cf853ff911ff1a8b82a942881cb4727