Heads up master switch (1/2)

Create a global heads up switch to enable/disable the same.
The user still need to set each app in Settings -> Apps

PS: disabling through master switch will automatically turn of  call ui and mms heads up notifications

Change-Id: I650e230d275247251435c5cfeb728e375e927045

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revert "Base: App Circle sidebar (add support Samsung multiwindow flags)"

This reverts commit bdff135a449f47be71bdd4d0f5fd861a8f266acb.
core: Add back mistakenly removed string

Change-Id: Ia56f05ebf87f16b9304fe8fa0664874fcc03697c
Automatic translation import

Change-Id: Ie45913a911cf7877a128c3138c347ef31009c91e

Conflicts:
	core/res/res/values-es-rXA/cm_strings.xml
	core/res/res/values-es-rXA/strings.xml
	core/res/res/values-nl/cm_strings.xml
	packages/Keyguard/res/values-es-rXA/strings.xml
	packages/Keyguard/res/values-es/cm_caf.xml
Core: Improve AOSP JA translation

They translated "hotspot" as "アクセスポイント"(access point) but it just gets us confused.
"テザリング"(Tethering) is preferred than "アクセスポイント"(access point) in Japanese translation.
FYI, most vendors fixed these strings e.g. Samsung and Sony.

Change-Id: Ic13ec6d33f411b026d90312600d0150bc3a759b0
systemui: Unbreak the planet

 * Not sure who to blame, but it's probably themes... :)

Change-Id: I0c534354a699f756d809aff10843ebea21f3f369

Conflicts:
	packages/SystemUI/proguard.flags
Code cleanup.

Enforce 100 char line length, and remove checks for always-true
conditions.

Change-Id: Ie24d12919859e8269f77fabf93b3d745ece94479
frameworks/base: Fix delay in sending AUDIO_BECOMING_NOISY intent

AUDIO_BECOMING_NOISY intent is sent as background intent which causes
delay in receiving pause event. This delay caused audio leak. By
marking the event as FLAG_RECEIVER_FOREGROUND, this intent is
received sooner by Application.

Change-Id: Ib978cf8322dcddbc01f59824f95fa7800f9c35af
CRs-Fixed: 652549