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)
committergitbuildkicker <android-build@google.com>
Fri, 26 Aug 2016 04:56:24 +0000 (21:56 -0700)
commit23e7c1d038bae581cf896f72706221c2ef610c61
tree0776e618ce31509572a9dcfad4709d3f583a4c5e
parentebf0c917c3034002b3ca8abb22f7417b6ecc7e30
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
(cherry picked from commit e6bbe69ba739c8a08837134437aaccfea5f1d943)
cmds/servicemanager/Android.mk
cmds/servicemanager/service_manager.c