summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-12-03 10:59:29 +0000
committerDavid Brazdil <dbrazdil@google.com>2018-12-03 10:59:45 +0000
commit991ff90e73eec80b4c98ab899ee0a69192c5cbed (patch)
tree29ecd8632a918eddd04f97b7d376b6fe4d97c60b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc4ce66dd2f214af8e4bd17f98f70ec9fa910f810 (diff)
Move DexLoadReporter setup before AppComponentFactory calls
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions