summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/5/changes
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2021-06-11 13:56:41 -0700
committerCalin Juravle <calin@google.com>2021-06-14 16:51:39 +0000
commit60f7b38892329c5df6d51003231b254a178b3dd6 (patch)
tree21e3d96a246cb98ef81f9fa6039ccafbf4cdfa01 /docs/html/sdk/api_diff/5/changes
parent3b5e4d293679b0a90a5ff3cba431207af259c79b (diff)
Register the DexLoadReporter before creating the main class loader
We used to register the DexLoadReporter after the main class loader was created. That was done to avoid superfluous reports of the app's primary apks (since we already know about them). However that also means that if the app would start as an isolated process we would miss this signal in the DexManager. Make sure we get signals for isolated processes by registering the reporter before we create the main class loader. Test: manual, using chrome and maps go adb shell cmd package compile -m speed-profile com.android.chrome adb shell am start -n \ com.google.android.apps.mapslite/com.google.maps.lite.twa.MapsLiteTwaLauncherActivity adb shell dumpsys package dexopt (confirm that chrome is used by an isolated process) adb shell cmd package compile -m speed-profile com.android.chrome (confirm that chrome is speed compiled - or verify, based on the device setting) Bug: 163018062 Merged-In: I5d683ae85b3973cc2011dd33b4cb14837b18005f Change-Id: I5d683ae85b3973cc2011dd33b4cb14837b18005f (cherry picked from commit 875888eff38e3a6c1369bbb9c2336e7b97758c51)
Diffstat (limited to 'docs/html/sdk/api_diff/5/changes')
0 files changed, 0 insertions, 0 deletions