Minor code cleanup to enable reuse of the protocol.

Extract the protocol constants into another class.
Add a callback interface for the watcher.
Minor doc tweaks.

Bug: 11257292
Change-Id: I74b5ecee0d287d6b892ccb56e7777762bbce30de
(cherry picked from commit 3efa63d3b896244713e84acbb5945562dce41d77)
Use the full component name to construct route ids.

Provide better disambiguation when a package contains multiple
route providers by using the full component name in the route id.

Also fix a bug handling package updates.

Bug: 11257292
Change-Id: Ice4fee742d73e2e979f2059b89cc4f4d971e0947
(cherry picked from commit adf0f4a217e14894af07dfa9f46cad7d98b8a7f4)
Remove dead code.

Bug: 11257292
Change-Id: Ifb88f3fe03a8a3bc3cdf372d902f4b63c1ed454b
(cherry picked from commit d59166433cee5a854f60321a469e225effac480f)
add Async handling of Print

bug:11322643
Change-Id: I9f1272f4d96752d9ce817a56f2e3e7766b82f989
(cherry picked from commit 975c49f182d754dfe1a38ba0457d6e603b125570)
Hide disabled routes from the chooser dialog.

Bug: 11257292
Change-Id: I88f905ed4b5280ef9a7d39d37afa3f89aaaff9ce
(cherry picked from commit 02acfc96bf4b4108f76f465f7895c7bbd60c0253)
Merge "add error propagation for thunking layer" into klp-dev
(cherry picked from commit ee83c07e5185e20e6da629eeb29c72b6d904f518)
Finalize assets for screen cast.

Bug: 11257292
Change-Id: I91c1232c6f9596d9167e54c0761811c59ab2461e
(cherry picked from commit 8e001dbdeeaf3744f39eb99aa905320ac69be3c7)
Fix slide drawable mirroring

BUG: 11673295
Change-Id: I181eb6aa2ab2a80d29716633cd25857540eba72d
(cherry picked from commit 14fabe0b90c2cd2fa5d67da7acb97b9e554636c1)
Make action bar media router icons blue again.

This reverts commit 8e001dbdeeaf3744f39eb99aa905320ac69be3c7.

Bug: 11790271
(cherry picked from commit 6e20936d7f1683a5b3091ef6465cb68eee0e8d5b)
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1

(cherry picked from commit e9e7ee52a69ece9e232a190ccf8f1fb9a03c03c2)