Work on issue #11634365: Leaking restarting services

Tighten up some flows to try to avoid any chance of leaving
a restarting service on the list, add a log to the only remaining
place I could find that we could get in to trouble for some
reason.

Change-Id: Iffb9be9d97deefc6cf0c5790eedfeb6e4e8a36bc
Merge "Disallow transient status bar on the keyguard." into klp-dev
Merge "Work on issue #11634365: Leaking restarting services" into klp-dev
PreferencesFragment showing the breadcrumb area in single pane mode.

If the PreferenceActivity is running in a single pane mode we are
not showing the headers and the breadcrumb area. However, when this
activity is restarted and has a saved state to restore we are trying
to use headers even in a single pane mode. As a result the breadcrumb
area is shown and the content is shifted to the bottom with an empty
space at the top. This change ignores the saved headers from the
saved instance state in a single pane mode. Note that in such a case
these headers are null anyway as we do not use them.

bug:11242762

Change-Id: I2828bc82762695d9c93fb4ca43933598a9b12b87
Merge "PreferencesFragment showing the breadcrumb area in single pane mode." into klp-dev
Improve documentation for InputType and EditorInfo.

Bug: 11245912
Change-Id: Ie92ba20079461f7f0e30d969ba3692fec3a3b97f
UI tweaks.

Hide disabled routes from the chooser.

Fix layout of chooser dialog when the settings button is visible and
the list is very long to prevent truncation of the settings button.

Fix an issue when we fake the route connecting status when a route
is selected.  The route changed notification needs to be propagated
to apps.  Fake it better.

Immediately disconnect from a route when the connection is lost or
a connection attempt fails.  Added a few new test displays for this
case.

Bug: 11257292
Change-Id: I360ab5dc937ad60d97592eab54b19f034519645e
Merge "UI tweaks." into klp-dev
Samsung STK support

Change-Id: I08d169bc466df290fca838b09f6b0fbea2ac82a8

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	telephony/java/com/android/internal/telephony/RILConstants.java

Change-Id: I3a00880c7ac9fd41f5ebd17ff11f6d5fb6669125
[2/2] Framework/base: Lockscreen maximized widgets

Framework part of maximizing lockscreen widgets

Taken from cm and modified for kitkat

Change-Id: I6a354d218fa5cc4603b92ba479d6aeba7f8f9c60
Ensure wallpaper hint is at least as large as the display.

Bug:11332853
Bug:11606952
Change-Id: I1840d7b723015c379da8eab7e22aa478d56adeb3
Fix toggleLastAppImpl
getRunningTasks causes an NPE. Switch to same behavior as RecentApplicationsDialog by using getRecentTasks and relaunching the last activity if it died.

Change-Id: I18b2b6711bc11f261ca2687a471a3e8bf984c705
Add event logging for tasks and stacks.

Also remove crufty write-only DisplayContent.mStackHistory.

Change-Id: I62b2b53dc02377c5d0d3b79df70b1990eed87d23
Merge "Camera2: Add support for partial result metadata quirk" into klp-dev
Merge "Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)" into klp-dev
Merge "Samsung STK support" into android-4.4
Merge "Fix bug #11586041 Regression: text truncation in Clock" into klp-dev
Merge "Add event logging for tasks and stacks." into klp-dev
Support preferred activities with zero or one scheme in the filter

Also use the existing full PreferredActivity match machinery instead
of the existing direct comparison now that the intent filters can
be more flexible.

Bug 11482259

Change-Id: Icb649ca60ecfbdb9ee3c256ee512d3f3f989e05f
Relayout windows that handle their own config change.

If a window claims to handle its own configuration change then we
won't destroy and recreate its window on a configuration change.
Normally that recreation triggers the first layout following
orientation change because mHaveFrame is false. Windows that handle
their own configuration changes never got a relayout pass following a
change in orientation.

This change passes the configuration changes that an application
handles into the AppWindowToken. If the app says it handles
orientation or screen size changes then a relayout will occur when the
configuration has changed.

Fixes bug 11647107.

Change-Id: Ie8d49fd050442ebbdcf0b805087894e3a2fc4be9