Display: Default SRE to off

Facemelt mode is catching people by surprise and being interpreted
as "messed up colors". Default it to off so people can at least see
it kick in as a reaction to enablement

Change-Id: I5816e528363f508fc360c321c702a59f0bb79846
Automatic translation import

Change-Id: Ie92d2963e2fca27455c2c9608d366a082aaaf8ac
Fix NPE if high touch sensitivity is not supported.

Change-Id: Ic51edf500e4c89102beb52b8d69f1066d2406a42
JIRA: BUGDUMP-16237
settings: check if ime switcher pref was remove previously

This could happend in tablet devices

JIRA: BUGDUMP-20712
https://jira.cyanogenmod.org/browse/BUGDUMP-20712
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: I85c1d6e56f85e3220311aabc68d6532d6ffdf59f
quiethours: refresh TimeRangePreference preference on resume

JIRA: CYAN-5223
https://jira.cyanogenmod.org/browse/CYAN-5223
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Ia06a21aad36e757c0ed89ac81305f9b531f811fd
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
settings: prevent NPE if device doesn't support ActionBar

If the device FEATURE_ACTION_BAR (the device hasn't it enabled or a theme has disabled it), getActionBar()
will return a null reference. Just prevent to use that invalid ref.

JIRA: BUGDUMP-23210
https://jira.cyanogenmod.org/browse/BUGDUMP-23210
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: I210867b10193471c49e444c27c47e9de6baee822
Use actual storage type of sdcard/usb (2/2).

Currently, storage volume description for mount/unmount/format determined at
build time using PRODUCT_CHARACTERISTICS. For device which has only a sdcard or
only support usb storage, displayed description is correct. For device which has
both storage, the displayed description is totally wrong.

Use of actual storage type at runtime can eliminate the needed to specify
product characteristics, either default or nosdcard.

Change-Id: I9f8d53a4648d960f1009b1fe94787eecd4343427
Properly apply edit dialog brightness value.

Change-Id: If0bc90f045e5549dced296a7944e9ed0ea98b0c9
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into DJL11