Settings: Do not rely on isRotationLockToggleVisible

on special situations it happens that the entry gets removed due that isRotationLockToggleVisible returns false.

Fix it with checking if we have general rotation support (isRotationSupported(Activity))

Change-Id: I05913352dfea764a7242d1c6d49cdee1779f4880
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Introduce SystemSettingsCheckBoxPreference

  -Originally part of a3342e2 (Add back notification
   light settings.)

Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
More options for navbar dpi

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Settings: Add per app controls for LP keyguard notifications (2/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options

Change-Id: Ie4966f9048718c080571935796258625413f7344
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/values/slim_strings.xml

Conflicts:
	res/values/strings.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Add back blacklist settings.

Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	AndroidManifest.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml

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

Conflicts:
	res/values/strings.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Settings: Alert user when they attempt to add an invalid number to BL.

  - BlacklistProvider will reject numbers that aren't valid, silently. So instead of
  resuming to a blank screen, we should alert the user that the number they attempted to
  add is invalid by utilizing BlacklistUtils#addOrUpdate method.

Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/values/cm_strings.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Add missing blacklist xxhdpi drawables.

Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Blacklist: Fix launching blacklist settings

Change-Id: I0043503e6ac0d3536941394ee5057001b72f9114
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Settings : Launch only contacts picker for blacklist entry

Change-Id: I266d1ad7f1aab745728b33490268cb197188f2b3
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Update drawables for Blacklist

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/drawable-hdpi/ic_privacy_guard.png

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
add missing blacklist drawables

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Light settings: reduce tone if preview image color is very light

Prevents material whiteout in color preview.

Change-Id: Idfa47e57bdb669b17b610b737d0fe2c942b47d78
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Settings: Developer Settings - We want consistence...change from CheckBox…

Switch to SwitchPreference

Change-Id: I402b0e3cda4f8e2c49787a1455acabcfd4220ac5
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/xml/development_prefs.xml
	src/com/android/settings/DevelopmentSettings.java

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Clock settings: Use Switchpreference

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Network traffic indicator: Use Switchpreference

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>