(cherry-pick from downstream)

Open access to reportClassLoaderChain as CorePlatformAPI

This is needed to support system server classpath reporting.

SystemServer class loader is constructed before we can install
a reporter. As such, we need a way to report the existing classpath
after the class loader is constructed.

Test: m
Bug: 148774920
Change-Id: Ice170bfd093ece643425695e2afbd6f2af675614
Merged-In: Ice170bfd093ece643425695e2afbd6f2af675614
2 files changed