ServiceState: add support for DCHSPAP

Change-Id: Ib0a328652c14580718400b00146b770481be5458
AudioService : missing intents and fix

Change-Id: Ib3ea661b3281910495b7b1e59dfac18156d170b1
Frameworks: Toggle to disable fullscreen keyboard (1/2)

Conflicts:

	core/java/android/provider/Settings.java

Change-Id: Id133925d659ea7e8589aec1ea3200bc6247da7cc

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

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

Conflicts:
	core/java/android/provider/Settings.java
Add @hide to superuser

Change-Id: I0c6dbb1aab610b40e3c0052eaa0847a0bef5c248
Fix NPE when pasting non-text from Clipboard

When copying a link from a bookmark and then pasting it into
a textfield a NullPointerException will occur.
A ClipData.Item is not guaranteed to always contain a text string
and therefore getText() can be set to null.

Using method coerceToText() instead of getText() makes sure that
a text string is always returned.

Change-Id: I81343c0371835a3a7a52045dcd1760e69e59a967
"[+>" more icon was never shown in PhoneStatusBar

"[+>" more icon was never show in status bar because
the member variable for this icon was not initialized
from resources. This fix enables "[+>" icon to appear
in status bar when the number of indications in status
bar becomes large.

Bug: 8368569
Change-Id: Ieb3412eed831052d69c0cf63c9b4230c38171e4a
Fix race condition in ActivityThread.completeRemoveProvider()

This should solve the problem when exceptions like below are thrown:
java.lang.IllegalStateException: unstableCount < 0: -1
android.os.Parcel.readException()
android.os.Parcel.readException()
android.app.ActivityManagerProxy.refContentProvider()
android.app.ActivityThread.releaseProvider()

Change-Id: I97ca9f7f0b57221bc3aa41727936292cc79b92c9
Kill chromium's bread and butter, spannablestringbuilder runtimeexceptions WITH FIRE

Change-Id: I5096cc0ab5e8684c7857eb6976be1e7bc71716ac
InputMethodService: Auto Keyboard Rotation (1/2)

Force auto-rotate when keyboard is shown.
Configurable auto-rotate sensor timeout after keyboard is hidden.

Change-Id: I56bc333e91702a9227409e35fce28567c435d16c

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