diff options
author | Dave Mankoff <mankoff@google.com> | 2019-09-11 14:14:45 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2019-09-12 20:52:15 +0000 |
commit | 66d22c8a59836b2e3f22074e358696275ed10ab7 (patch) | |
tree | 3085b0d73d1814da47a0c8a0b9c94a2cbf77f2b2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1eb71b84a2b0004c76e8ea9f1809ab1817699430 (diff) |
Ensure that the Application is constructed before any Service.
This fixes dependency injection issues and brings Service construction
in line with the way that Activities are created. Specifically, this
ensures that there is always a reference to a Context available at
the time a Service is constructed, such that the Context can then be
injected into the constructor of the Service.
Bug: 140868981
Test: atest SystemUITests
Change-Id: If85e4106fef8c2fd12f7ca9e8b7fd686af62e29b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions