Use java.util.Objects instead of internal API

Change-Id: Ib0d797b3e7f2e4f831f52832776b64c0973880b3
QS: use vibrator check from DeviceUtils

Change-Id: I40677ce94884ef6e91e7680af703c36b0d2e14c7
Revert "Stylus gestures features (2/2)"

This reverts commit 129b3683ea7ad185d70b6ee9b75f4d03a094db36.

Conflicts:
	res/values/arrays.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
[2/2]Settings: Stylus Gestures

PatchSet
- fix wrong call from xml
- remove depriciated onTreeClick

Change-Id: I9ca9fa237709a6237bbcd9ecf329bc9aa7e6321c

Conflicts:
	res/values/liquid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/language_settings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Settings: Toggle Stylus Pointer Icon

For devices with s-pen, this adds an option to disable
the mouse pointer when using s-pen

needs https://gerrit.slimroms.net/62

PatchSet:
- remove preference if not supported
- use onpreferencechangelistener
- minor cleanup

Change-Id: I8e752a8c8fd6a276eaf9b6bf20ad89d5ce3459ba

Conflicts:
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
settings: fix quickpulldown summary and clean up code

on default value it showed left summary and code is to complicated

Change-Id: I0c3b2dbe3213beea707bdda2f2453c4f9c75dcae

Conflicts:
	res/values/liquid_strings.xml
Settings: Completely remove "note" preference

Unused

Change-Id: I72f4a9022796c8dcdb0a9b04863723e5bdff89e5
settings: enable/disable lockscreenwidgets preferences

it is just nicer if the user can see which preferences are active
or not

Change-Id: Ia5f8c3884c747c0f17c50075842e861ab4de1020

Conflicts:
	src/com/android/settings/liquid/LockscreenWidgets.java
Settings: handle stylus options only on full language settings

there are two states in language and input settings. On the one hand
the normal which is accessable from the settings and the one
if the user press the button for settings in the IME switcher popup.
This removes all default views and add dynamic ones. Due that Stylus
option do not belong to the dynamic view it will end up in a
crash (NPE see removeAllViews() before)

so check which status settings were called and do the work or just skip
it

Change-Id: Ic7f051d36bc88c3f23de5262e8413c79699afa1b

Conflicts:
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Settings: follow kitkat's ui

- manage apps; tab selector and ram usage
- battery data usage bar
- app widget toggle

Change-Id: I804b4b47563545d7ab124f4cc4800ef4034bf754
Settings: QuickRecord Tile (2/2)

PS2: Forgot to set image name.

Change-Id: Ib20d4c7231f147674ed3afd4c438bd83aedbac1d

Conflicts:
	src/com/android/settings/liquid/quicksettings/QuickSettingsUtil.java
Wrong referring to the resource - id/android:id

We were referring to the resource defined as
@+android:id with R.id. which is wrong. This
fix changes the @+android:id/ to @+id/

Change-Id: Ifdca7347bff31311c9c07aecdb110946e4a239ed
Option to use volume keys to control media volume anytime [2/2]

The volume keys control the Media volume rather than the Ringer
hence removing the issue of accidentaly changing the Ringer volume.

Credits: Pawitp

Change-Id: Ic0a1c04ae41eac65e9535d6de5f11c0456730315

Conflicts:
	res/values/liquid_strings.xml
settings: TRDS some tweaks and fixes (2/2)

some smaller issues fixed and optimizations:

- fix twilightmode was wrong assigned to wrong value
- ligtsensor mode after first immediattely switch it does
  not allow for 5sec to switch again....after the 5sec it switches
  to current state if the sensor changed its state in this time.
  This prevends on the one hand on bad light conditions a permanent
  switch between dark/light as well it does not bring the system into
  troubles due of to much configuration changes at the same time
- get rid completly of the observe for the UI_THEME_MODE value and
  handle all over the UIModeManager
- adapt slimActions and settings to this new behaviour/method
- some cleanup and minor fixes

Change-Id: I099eb70f179149bcc519a209b93063529349f1e2
Revert "Option to use volume keys to control media volume anytime (1/2)"

This reverts commit d509a63d104c18f83a921b2dc151ef39b78df0bb.