diff options
author | Andrew Zeng <zenga@google.com> | 2018-06-28 15:15:05 -0700 |
---|---|---|
committer | Andrew Zeng <zenga@google.com> | 2018-07-02 18:19:06 +0000 |
commit | 190c06736a4affd83fdcc77590faf94ac5a20c2c (patch) | |
tree | 57eda34121f0b6241ca4ef8afe2da9904e0a496c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 24158ba81be3a87493b3d6fd6b8df29078e2df32 (diff) |
Keep track of all bound services.
When a service is disconnected mServices will be updated
to no longer contain the service binding. In order to
prevent an accidental double-bind for services bound directly
in ManagedServices due to not detecting a service is still bound,
make sure that if the service is still bound that we don't rebind.
Bug: 77821801
Test: atest FrameworksUiServicesTests:ManagedServicesTest
Test: manual - check service bound after force-stop/app update
Test: manual - check service not re-bound after disabling a component
Change-Id: Id600357ad0b84f157cf9666680bf53b7fe125d96
(cherry picked from commit d814134e9ee652de5b54c7c20c8eb3c1a8f590df)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions