Settings: Only show clear button when search field has text.

Change-Id: I69bf6a31a933459be2c652434aec412105395dcc
Revert "Allow changing theme to Holo.Light without crashing"

http://review.cyanogenmod.org/#/c/70745/ solves the issue
that this patch originally was created for.

This reverts commit 8cc23d58abc4874fe049a8dfa70910cf0b5dd9b2.

Change-Id: Ia350a03749202a2c0ae809400a3ebb554551d601

Conflicts:
	res/values/themes.xml
Settings: add last app action to be assigned to hardware keys

Change-Id: I9004412528a7c32fecd7edea6167c1b80c51730d
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	res/values/cm_strings.xml
Settings: HighTouchSensitivity support

Change-Id: I3e4cd681d0e9b93eff9a65b69c0f38efe3b5a18b

Conflicts:
	res/values/cm_strings.xml
Settings: Improve touch sensivity string

Change-Id: I47cfb414af91657ed158b4010ffa0bbf21c0e8e9
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
Fix HighTouchSensivity (1/2)

Change-Id: I3d3207fefef496ba787055b1598c60b327ab9bb6
Settings: Fix AOSP ES translations

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

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

* Add missing spaces between SSID and AP security

Change-Id: Idcd284a16cbd10a0e73db8bfda988f2ad3e6e6f1
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