Revert "Update Font.java"

This reverts commit 054765ccdd6aa07edbb6a407f3b7f91cb17431da.
Revert "Update system_fonts.xml"

This reverts commit 176feb4561f41dd6514c76dd07972ef9f230aeee.
Show statusbar in expanded desktop [1/2]
Credit CM
Merge pull request #4 from sspencer10ls/kitkat2

Show statusbar in expanded desktop [1/2]
Add dummy config for long press menu
Dispatch keys to a device specific key handler

Injects a device key handler into the input path to handle additional
keys (as found on some docks with a hardware keyboard).

Configurable via overlay settings config_deviceKeyHandlerLib and
config_deviceKeyHandlerClass.

Change-Id: I6678c89c7530fdb1d4d516ba4f1d2c9e30ce79a4

DeviceKeyHandle: The device should consume only known keys

When the device receive the key, only should consume it if the device
know about the key. Otherwise, the key must be handle by the active app.
Also make mDeviceKeyHandler private (is not useful outside this class)

Change-Id: I4b9ea57b802e8c8c88c8b93a63d510f5952b0700
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Sensor: Enable the motion accelerometer for screen orientation change

The screen orientation can be detected by the motion accelerometer
instead of generic accelerometer to save power.

Change-Id: Iaeb3e5958d2ef7cc33080d7091ed8a5462695c67

Conflicts:
	core/res/res/values/config.xml
Support GESTURE_SENSOR input device type with GestureService

* The GESTURE_SENSOR input device type is meant to support touch sensors
  which are meant for gesture input only, very similar to a touchpad,
  but without the pointer capability.
* Define separate service to handle gestures from GESTURE_SENSOR device
  type.

Change-Id: I9b273df2a3cc141774d7f7cd81e43a90ea5b230b

Hide InputDevice.SOURCE_GESTURE_SENSOR from API

Change-Id: If009e9595fc593594b0e7764669996de137483a1

GestureInput : Allow doubletap/longpress configuration

Allows devices to specify pending intents for double tap and
long press events.

Change-Id: I7e7cc2f9f96a01d8f6232e5cf0e19832fdfd5359

Conflicts:
	Android.mk
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/SystemServer.java
GEL Integration (1/2)

Changed INJECT_EVENTS permission from signature to signatureOrSystem.

Change-Id: Ie3633aa2ee7a2f22b7f32232ce4d3d98f33fd39d
HOVER: Options to exclude non-clearable and low priority notifications [1/2]

Change-Id: I0563a5a05f697202d11343451c481d8a150717d5
Master switch to disable Hover [1/2]

Change-Id: I928bf5c42fb4a33109198475cc136bd86f11056d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HOVER: Option to disable HOVER-Button in StatusBar [1/2]

If the button is hidden, user can activate Hover in the Settings instead

Change-Id: I76e99da7a83b6a5dd35c2965b311009dfc819085
Base: Add CM Profiles (1/2)

Autor:    AlvaroOrduna <alvaro.orduna.92@gmail.com>

	modified:   Android.mk
	new file:   core/java/android/app/AirplaneModeSettings.java
	new file:   core/java/android/app/ConnectionSettings.java
	modified:   core/java/android/app/ContextImpl.java
	new file:   core/java/android/app/IProfileManager.aidl
	new file:   core/java/android/app/NotificationGroup.aidl
	new file:   core/java/android/app/NotificationGroup.java
	new file:   core/java/android/app/Profile.aidl
	new file:   core/java/android/app/Profile.java
	new file:   core/java/android/app/ProfileGroup.java
	new file:   core/java/android/app/ProfileManager.java
	new file:   core/java/android/app/RingModeSettings.java
	new file:   core/java/android/app/StreamSettings.java
	modified:   core/java/android/app/admin/DevicePolicyManager.java
	modified:   core/java/android/app/admin/IDevicePolicyManager.aidl
	modified:   core/java/android/content/Context.java
	new file:   core/java/android/preference/ListPreferenceMultiSelect.java
	modified:   core/java/android/provider/Settings.java
	modified:   core/java/com/android/internal/widget/LockPatternUtils.java
	new file:   core/res/res/drawable-hdpi/ic_lock_profile.png
	new file:   core/res/res/drawable-mdpi/ic_lock_profile.png
	new file:   core/res/res/drawable-xhdpi/ic_lock_profile.png
	modified:   core/res/res/values/kang_strings.xml
	modified:   core/res/res/values/slim_symbols.xml
	new file:   core/res/res/xml/profile_default.xml
	modified:   media/java/android/media/AudioManager.java
	modified:   media/java/android/media/RingtoneManager.java
	modified:   packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
	modified:   packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	modified:   packages/SettingsProvider/AndroidManifest.xml
	new file:   packages/SettingsProvider/src/com/android/providers/settings/ProfilePickerActivity.java
	modified:   policy/src/com/android/internal/policy/impl/GlobalActions.java
	modified:   services/java/com/android/server/DevicePolicyManagerService.java
	modified:   services/java/com/android/server/NotificationManagerService.java
	new file:   services/java/com/android/server/ProfileManagerService.java
	new file:   services/java/com/android/server/ProfileTriggerHelper.java
	modified:   services/java/com/android/server/SystemBackupAgent.java
	modified:   services/java/com/android/server/SystemServer.java

Change-Id: I62b7140bb85263269d7da3ffe87ce68e90fa7e9d

Conflicts:
	core/res/res/values/kang_strings.xml
	core/res/res/values/slim_symbols.xml
Add Profiles to SlimActions

Change-Id: Ib36c6a77abc871eaff84407fdd94822b24f32da5
QuickSettings: Added ProfileTile [1/2]

- Adds the option for a Profile Tile to System settings
- Profile tile will show selected profile
- On click a profile selection will pop up

Patchset 2:
  Using blundens profile png resource
  fixing broadcast
  adding longClick action to updated system settings
Patchset 3:
  only show tile, if profiles are enabled
Patchset 4:
  removed reduntant check
  removed reduntant parameter from constructor

Change-Id: I74548af63531a245c700cc5b50f97919de7cfcf8

Conflicts:
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
FB: Add color values for ease of TRDS theming

This adds color values that I can use for TRDS theming.  I needed values
for colors that are white when TRDS is on and black when off, and vice
versa. Google is implementing framework public value redirects in the
smali code of several Google apps I'm trying to bring TRDS compatibility
to. This will make it much easier to redirect text colors.

PS6: Remove whitespaces. Sorry 'bout that!
PS7: Remove unnecessary duplicated colors in holodark.
Change-Id: Ia3f21b6891ca59d98b79d3ca6e32f6710d9321f3

Conflicts:
	core/res/res/values/colors.xml
Make sure slashes don't appear in the Quick Recording files

Change-Id: If246b1fa261fd37254d999f651231c9a2211f971
Fix Up Derps
Merge remote-tracking branch 'upstream/kitkat2' into kk44

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java