diff options
author | Jason Monk <jmonk@google.com> | 2014-10-28 02:21:20 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2014-10-28 02:21:20 +0000 |
commit | e58574026b265b4773f1e9bc896ba53530c7a580 (patch) | |
tree | 5b9f4d830f76da68ee3c57ad5cc46630a0594071 /services/core/java/com/android/server/media/projection | |
parent | bc66de0df9421ea0ffc36a1a6f6d8fd8bd7dfcda (diff) | |
parent | 07faf0e1a1d32408dfdc863a0996baa8522c5fdb (diff) | |
download | frameworks_base-e58574026b265b4773f1e9bc896ba53530c7a580.zip frameworks_base-e58574026b265b4773f1e9bc896ba53530c7a580.tar.gz frameworks_base-e58574026b265b4773f1e9bc896ba53530c7a580.tar.bz2 |
Add missing passive discovery flag automerge: 4444c5b
automerge: 07faf0e
* commit '07faf0e1a1d32408dfdc863a0996baa8522c5fdb':
Add missing passive discovery flag
Diffstat (limited to 'services/core/java/com/android/server/media/projection')
-rw-r--r-- | services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java b/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java index 00eaaa4..e9b3f8b 100644 --- a/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java +++ b/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java @@ -91,7 +91,8 @@ public final class MediaProjectionManagerService extends SystemService public void onStart() { publishBinderService(Context.MEDIA_PROJECTION_SERVICE, new BinderService(), false /*allowIsolated*/); - mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback); + mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback, + MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); } @Override |