framework: Add compass tile (1/2)

Add a compass tile to quick settings.
Clicking on it enables the sensor and clicking again disables it.

Screenshot: http://goo.gl/2frdpy

Change-Id: Icd9d12929f0491f6958f30de139ef39bb4c2e037
Revert "idmap: Don't log spam "CREATING STRING CACHE""

This reverts commit 8a8b3bc1f7fe97b1c11693ad3350cebfd9e546be.

Change-Id: Ic461c90e9fd50b81051b2bc55bb6507f40144c36
idmap: reduce CREATING STRING CACHE verbosity

Change-Id: I7febe358b3b302427650edc1d00772fc9d2d547c
[1/2] Base: opens music app when headset is plugged

Change-Id: Id8b7c9e9853088b4ffa3c822caac1b3f96def9bf

Conflicts:
	media/java/android/media/AudioService.java
base: Moves isAvailableApp and isAppInstalled to PackageUtils

Change-Id: I78494839fb2e521666fae82d2168131fa2bbd093

Conflicts:
	core/java/com/android/internal/util/omni/DeviceUtils.java
	media/java/android/media/AudioService.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
[1/2] base: Headset plug: Disable if music is active

PS6:
-I want to understand :)

Change-Id: I7ae31121b08fbf99c32bade8df4f291a99b1abaf
[2/2] base: Headset: headset actions improvement

Adds "Kill app" and "Move app to front"

New logic with more actions and events

Change-Id: I58cef9112c89e4c8ec625e57bdce471f1aaf881a

Conflicts:
	core/java/com/android/internal/util/omni/TaskUtils.java
	media/java/android/media/AudioService.java
AudioService: remove old headset plug code
Revert "ActivityTrigger:  New class to invoke when activity starts/resumes"

 * No longer supported upstream, and will be superseded by new
   CM functionality.

This reverts commit c5bb1bbd0a59640ec394ee729b57de34295a4e99.

Change-Id: Ieb26fb1db62b739e048a6a9b87fb33579b4ee285

Conflicts:
	core/jni/AndroidRuntime.cpp
SystemUI: fix recents clear all bottom padding
Peek wake timeout (1/2)

- Originaly taken from AICP - Thath's why i'm keeping original autorship
- Allow user to set how long peek notification will hold screen on
- Minor changes by me @cristianomatos to match crDroid sources

Diff from original commit:
* Variable declared globaly and moved from inside the private void scheduleTasks() method
* Made multi user
Original commit: https://github.com/AICP/frameworks_base/commit/90b47fc55ec59520d6dd5dd828ff48a3a3dca1d4

-PEEK pick up timeout: ensure stock value on clean install and also show summary of it (1/2) by @cristianomatos

- This commit fix a derp where Settings.Secure is called and not the right one: Settings.System
- Inlcude a settings observer for futures ideas

Change-Id: I3a3c7e6f99edd9c861566b2d738d31e7657a0322

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationPeek.java
PEEK: Beautify bridging layers code

* Save new instances for Peek and PowerManager:
    Create it only in BaseStatusBar when start() method is called. That one
    will be passed throught the sub layers such like new helper class so another
    feature can check Peek state invocking from NotificationHelper class.
* Move phone listener to new helper class.
* Do not show Peek on sim pin lock screen.
* Process new incoming notifications only if screen is off, keep updating notification array separately.
* General cleanup.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I9efde073df35b92e42b9faa9930d2fc39b3a43b9

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Framework: update DE translation
SystemUI: update DE translation