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
CryptKeeper: update emergency call button to Holo

Change-Id: Id98a3345a7bb99b485ef608cec4319a84c040081
Automatic translation import

Change-Id: I20f3f718753a7ec48ead4ce3ad54cc09fbf6bd89
Fix HighTouchSensivity (1/2)

Change-Id: I3d3207fefef496ba787055b1598c60b327ab9bb6
Revert "Fix HighTouchSensivity (1/2)"

This reverts commit 770b22de62eae0a4c269418986a8420e3535bbf0.

Change-Id: I0d243d512220f265f462a98c0dc15372b314e714
Settings: Fix AOSP ES translations

Change-Id: Ie596596891ad3ceacb846f7f059a64c09bb14c68
Settings: Modify and add AOSP JA translations

Change-Id: I36fd1817aa9be4c4ccb6054964b65cc2696c188f
Revert "Revert "Fix HighTouchSensivity (1/2)""

This reverts commit 8795728f12e2ef2347047f1b4e08358bca3452ab.

Change-Id: Ia4a06385b8e209f72bb1e9960f7319b5a4496c14
Automatic translation import

Change-Id: I7a750d6e136de393db8e65959ead187e9464130c
Settings: Fix AOSP WiFi AP translations

* Add missing spaces between SSID and AP security

Change-Id: Idcd284a16cbd10a0e73db8bfda988f2ad3e6e6f1
Settings: Move "Double-tap to sleep" option under Display settings

Move dt2s above dt2w option so users don't get confused.

Change-Id: I910eb6624536b437d0bf14f64c1eeacafaa59cfa

Conflicts:
	res/xml/status_bar.xml
Adjust animation scale range.

The animation scale options are _developer_ options for a reason: They
allow _developers_ to assess and debug animations in the apps the're
developing. A max scale of 2 is not sufficient for that purpose, so
increase the scale.

Change-Id: I68cc5f2f73006ca7696f3950e5e57a38c6341065
Settings: set proper default value for tap to wake

The first time the display_settings.xml file gets inflated, the
PreferenceManager takes the defaultValue and persists it in the default
shared preferences file.

When we read the double tap to wake preference,
we assume it has a default value of true, which it uses until the user
enters Display Settings for the first time. At that point, the default
value is persisted, and every boot after will use the default value in
display_settings.xml.

Remove the default defined in the XML file.

Change-Id: I0989dd73b6b3c42ff8649bc17eebf4e191293ee4
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Improve AOSP & CM AOSP JA translation

Change-Id: Iafda95ac029896068989ac012be1b95b5a0d4adc