Fix issue #6634325: View.setKeepScreenOn and...

...MediaPlayer.setScreenOnWhilePlaying seem broken

We need to correctly clear the keep screen on flag when the view
hierarchy request is gone...  and to do that, we need to keep the
actual state of the flag requested by the app.  Also when the app
changes its state, we need to compute the proper value based on
both the app request and any requests in the view hierarchy.

Bug: 6634325
Change-Id: I060e9a34a10faffbaa77c06098cf21298bb4969f
More MediaRouter features.

Add RemoteControlClient to user routes. This will allow the UI layered
on top to access info about the remote volume channel associated with
a user route.

Add icons for user routes and route groups.

Change-Id: I438aa60fc8c93f878ec7638897225738155f0746
Merge "Improve ANR diagnostics." into jb-dev
Fix docs

Change-Id: If0215c02abf419d14f28574b751c9dfc2f27bcbe
Merge "Fix docs" into jb-dev
Merge "Added support for customization of mobile data setting."
am f01f6b6d: Merge "Added support for customization of mobile data setting."

* commit 'f01f6b6d379c911a2c1e350bc758cea26bfe6d9d':
  Added support for customization of mobile data setting.
resolved conflicts for merge of 29bea61c to jb-dev-plus-aosp

Change-Id: If582e1fa99691b4e4182c3a9b148fcef5cad251e
Improve ANR diagnostics.

When an ANR occurs, log the associated reason.

When an event takes too long to process (currently more than 2 seconds)
log basic information about the event including how long it actually
took.

Dump the contents of the inbound, outbound and wait queues as part
of dumpsys input.

Bug: 6574842
Change-Id: I9ab754c320f609cb86fe266c469a61e7032dfed6
StatusBar: Respond properly to global expand message

Fix timing issue in PhoneStatusBar#animateExpand(). Also, notification panel
drag handle (when expanded) reflects movement immediately.

To test animateExpand():
  $ adb shell service call statusbar 1

Bug: 6629916
Change-Id: I22bb09fc4c9d97c93ba8d7aed8921b60f5ebd610
Merge "Fix issue #6634325: View.setKeepScreenOn and..." into jb-dev
Merge "Prevent a crash when maxLines is set to 0" into jb-dev
Merge "Suppress header flash when collapsing notifications panel." into jb-dev
Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev
resolved conflicts for merge of 926a5c50 to jb-dev-plus-aosp

Change-Id: I1426b282bb4c392b0a5bcb96760c04f215a26b4e
Merge "Made IAudioService.setBluetoothA2dpOn() not oneway" into jb-dev
Do not cancel animations when switching.

Was canceling ongoing animations when starting a new animation which
caused the window of the first animation to restart. This looked
janky. The original cancellation was put in to stop the incorrect
animation being selected when quickly switching between an incoming
app and the homescreen. Reversing the cancellation no longer exposes
the original problem it was put in to fix.

One way to duplicate what this is fixing.
1. Slow down animations to 10x.
2. Run ApiDemos/App/Alert Dialogs/List dialog
3. Tap outside the list dialog and then tap the home button.
Tapping outside the list dialog causes the list dialog to animate
away. Tapping the home button then causes the app to animate away.
Before this fix the list dialog would revert to full size before
the app animates away. With this fix the list dialog continues its
original animation as the app animates away.

Fixes bug 6600726.

Change-Id: I29c940254808a321c3b6c2e4f4b7c78a72b47899
merge in jb-release history after reset to jb-dev
Merge "make the boot animation 32-bits to avoid banding" into jb-dev
MediaRouter work

Fix a bug where MediaRouter would crash on creation

Add click listener for app-supplied extended settings on the route
selection dialog.

Change-Id: I2991db1720b5c574148e250526984592f4dc3c44