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)
committerFeng Yu <feny@google.com>
Tue, 13 Sep 2016 00:06:18 +0000 (17:06 -0700)
commit6b9c6d23f69a64f76fc26cda6989183042b0621c
tree365d7144df6f42359e60b3e055286cfc78503177
parent5fa90a063f77054fc6068f45f6a21f43d64364b6
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.bp
cmds/servicemanager/service_manager.c