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
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
Clean up: tabs to spaces

Change-Id: I193bc4b67db0a2290a7a53554e9490a62fc44b42
Fix vertical gesture touch calculations

- Silence HALO touch point was below the Silence HALO marker. (fixed)
- Dismiss (single) notification could be activated while still touching HALO,
  before reaching the dismiss notification marker. (fixed)
Merge pull request #49 from Anu6is/gestureFix

Fix vertical gesture touch calculations
HALO bugfixes

1. some icons were overblown
2. tasking meant having your thumb on the speechbubbles

Change-Id: I04637a5ae96c3d9fa30188a320e13989c48f7f0c
Revert "Fix vertical gesture touch calculations"

i can see the code isn't exactly clear in that regard - it seems like a
miscalculation but it was made to give items enough space to make an
easy flick possible. with a more correct approach it feels a lot harder
to just flick a "hide" because the space is so small, it'll more often
be a "slience" instead.

if you like we can look over the code together and implement a clean
implementation of that UI logic.

my g+ mail is drcmda at gmail.com you can add/contact me there if you
like.

This reverts commit 8cf0d5c62d5fa6c5e8fa51b8273893d32c5b787e.
Halo: Fix icon position in tablet status bar
Fixed xhdpi status icons. ~ Arz Bhatia

Change-Id: Ieefae1fad2e6406d78ec4438e22493e53eb65ccd
Merge pull request #47 from corcoran/jellybean

TEST: Fix floating window activity result cancellation