summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Sanjana Sunil <sanjanasunil@google.com> 2021-12-17 07:32:22 +0000
committer Palak Chaudhary <cryptic@google.com> 2022-02-01 10:22:33 +0000
commite5cc81ce075aeecf9f4340f5d73c57e4f0e56fac (patch)
tree64c75d83f17e32f631bd34070057d51d95c67db6 /api/api.go
parent87b22d6d8fba085d7de2c005b7663c220c646742 (diff)
Add support for spawning multiple service processes
Modify activity manager code to allow for multiple processes to be spawned for the same service (non-isolated) having different instance names. A new API is introduced similar to bindService where the app UID associated with the supplemental process service is used as the instance name. The main changes involve distinguishing it from isolated service processes with instance name, removing a check that allows only isolated services to have instance names and using distinguishing process names in the ServiceRecord for the different processes running that service. Bug: 203670795 Bug: 209058402 Test: Manual, installing two Supplemental client apps and attempting to load code from each and examining new processes created. Automated tests are WIP. Change-Id: I2e349412338e6f0cc9cabaefb77fe2413f5850e0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions