OSDN Git Service

Add missing passive discovery flag
authorJason Monk <jmonk@google.com>
Mon, 27 Oct 2014 23:20:02 +0000 (19:20 -0400)
committerJason Monk <jmonk@google.com>
Mon, 27 Oct 2014 23:25:50 +0000 (19:25 -0400)
commit4444c5b27874866f18cd8f4abb8914cc17857ea7
tree368ef60196d52926f50e3b19204fe474e17380a4
parent79775d4bc4fa71994942dbd1d441aa62827c34be
Add missing passive discovery flag

MediaProjectionManagerService had an active media callback which
was causing a service to be bound 100% of the time.  Adding a
passive flag makes it only observe events, and allow the service
to only be bound when needed by apps requesting active discovery.

Bug: 18042409
Bug: 17969854
Change-Id: I1bfa6609e2aa507ee2ce227de50f0e5ae951e000
services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java