991ff90e73eec80b4c98ab899ee0a69192c5cbed
BaseDexClassLoader has a callback for reporting all loaded secondary dex files to DexManager. The callback needs to be set up: (a) after the default app class loader is initialized, so as to not report the app's main APK being loaded, and (b) before control is handed over to the app for the first time, so as to not miss any BaseDexClassLoader instantiations. The latter used to mean setting up the callback before Application.onCreate() but AppComponentFactory calls happen even earlier. Hence move the call into LoadedApk where the borderline between (a) and (b) lies. Test: manually check dex loads from instantiateClassLoader are reported Change-Id: I7961913de302bcede6c231304544d21d8db806a8
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%