HALO new vertical gestures (NOT READY FOR RELEASE)

itroduces step gestures

-- Clear all notifications
-- Clear current notification

(*)

-- Hide HALO
-- Silence HALO until woken

Change-Id: I4b5bb7ec612dc0eb1d95e970348b15fba1d79df0
HALO clearall/silence (STILL NOT READY FOR RELEASE)

but working ...

Change-Id: Ie1c25f4ad60d2fac6321417c6fcf93e3dccd9d93
HALO clearall-fix + dismiss icon (READY, BUT NEW STYLE IS XHDPI ONLY!)

Change-Id: I5d47a2dda9139445503f4e93f9a72c02b48cb88d
Better strings

Change-Id: I8e1c97d9ab8df29947e672a214ca006f1f26ba1e
HALO cleanup & clearall-nap

Change-Id: I05e45812fa10e3f6b3818ac4a96d94c7d0d5d125
HALO: make a trusted overlay

Change-Id: I009be0361c73ec536277641d235b0c495bc43db6
Use sticky broadcast to convey torch state (1/2).

It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.

Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/TorchTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/FlashlightButton.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
Halo: tablet mode support

Change-Id: I2c735b68b28ac0e2ccddc6a45e11e467321cf5fe
New Event: ACTION_NEW_OUTGOING_SMS

Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283
Don't enable GPS if the requesting app is blacklisted.

This is transparent to the app, it just sees no location callbacks as
before. It just avoids the additional unneeded battery drain.

Change-Id: Iff98bcc3a4ff724aea8763e08b687441bda9ede0
Add permission that allows cancelling notifications from other apps.

Change-Id: I055b17873e174f71174898a7649b1e221fd8c436

Conflicts:
	core/res/res/values/cm_strings.xml

Conflicts:
	core/res/AndroidManifest.xml
	core/res/res/values/strings.xml
libdrm: fix bad strncpy / snprintf calls

Fix the following bugs reported by IOActive:
* GOOGLE-AN01 - Android libdrm drm_parseDM.c Boundary-CRLF Buffer Overflow
* GOOGLE-AN02 - Android libdrm 'drm_parseDM.c' contentType-CRLF
		Buffer Overflow
* GOOGLE-AN03 - Android libdrm drm_parseDM.c contentID-CRLF Buffer Overflow
* GOOGLE-AN04 - Android libdrm 'parser_dcf.c' Multiple Headers
		Buffer Overflow
* GOOGLE-AN05 - Android libdrm 'parser_dcf.c' ContentType Buffer Overflow

Bug: 8727221
Change-Id: If386922e907567f54e26897beffaa1cfe4777896
Notification cancellation fixes:
Permission should only allow cancellation of other app notifications, not enqueueing.
Fix checkapi breakage.

Change-Id: Idbcfd4617057984250dc4d4fa32ff55bfbb155e2

Conflicts:
	core/res/AndroidManifest.xml
Clean up: tabs to spaces

Change-Id: I193bc4b67db0a2290a7a53554e9490a62fc44b42

Conflicts:
	core/java/android/provider/Settings.java