OSDN Git Service

ServiceManager: Allow system services running as secondary users to add services
authorArve Hjønnevåg <arve@android.com>
Thu, 18 Aug 2016 22:42:35 +0000 (15:42 -0700)
committerArve Hjønnevåg <arve@google.com>
Thu, 18 Aug 2016 23:07:00 +0000 (23:07 +0000)
commite6bbe69ba739c8a08837134437aaccfea5f1d943
tree6566c31b7d4afed0767d59eacc86354a9b4ee097
parenteb304f0a369aa0573a6999057b0b53e22c5dce81
ServiceManager: Allow system services running as secondary users to add services

This should be reverted when all system services have been cleaned up to not
do this. A process looking up a service while running in the background will
see the service registered by the active user (assuming the service is
registered on every user switch), not the service registered by the user that
the process itself belongs to.

BUG: 30795333
Change-Id: I1b74d58be38ed358f43c163692f9e704f8f31dbe
cmds/servicemanager/Android.mk
cmds/servicemanager/service_manager.c