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
Merge remote-tracking branch 'github/jellybean' into HEAD

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

Change-Id: Icb4d46439ef1653dcf4a1b1fe53eb40623e87131
Merge remote-tracking branch 'upstream/jellybean-legacy' into jellybean-legacy