OSDN Git Service

Add API to allow apps more control over instantiation
authorJason Monk <jmonk@google.com>
Tue, 6 Jun 2017 22:01:31 +0000 (18:01 -0400)
committerJason Monk <jmonk@google.com>
Thu, 22 Jun 2017 17:18:27 +0000 (13:18 -0400)
commit4d0fd71700065e3db479867c6ec3190cdf9342c1
treeb3ca234d985d88be54459ade95f7cc1fe3e79471
parentca35ed5cb9891c8a9ccc3d2c8f72431d0c112c5c
Add API to allow apps more control over instantiation

Let them control construction of standard manifest elements (like
activities) through Application. This will allow for things like
dependency injection and class loader magic.

Test: manual
Bug: 62534409
Change-Id: I5fc2a7ec52bb0e232966704d16f94a192d033267
Merged-In: Iaa2215b225c3b97f4e9ac809dfe499f98c7ad5f1
core/java/android/app/ActivityThread.java
core/java/android/app/Application.java