Fix bootchart on android12
Access denial of Apexd would cause runtime abort and the
bootchart is not working on Android 12:
...
F nativeloader: Error finding namespace of apex: no namespace called com_android_art
F zygote64: runtime.cc:669] Runtime aborting...
F zygote64: runtime.cc:669] Dumping all threads without mutator lock held
F zygote64: runtime.cc:669] All threads:
F zygote64: runtime.cc:669] DALVIK THREADS (1):
F zygote64: runtime.cc:669] "main" prio=10 tid=1 Runnable (still starting up)
F zygote64: runtime.cc:669] | group="" sCount=0 ucsCount=0 flags=0 obj=0x0 self=0xb4000072de0f4010
...
Bug: 205880718
Bug: 218729155
Test: bootchart test.
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Merged-In: Ia7d166605cd0b58849cb44d9a16dc3c73e1d4353
Change-Id: Ia7d166605cd0b58849cb44d9a16dc3c73e1d4353
3 files changed