Skip deobfuscation for 0-byte native allocation captures When a native allocation capture fails and returns a 0-byte .heapprofd file while deobfuscation is enabled, running traceconv bundle on the empty file wraps it into a non-empty TAR archive, bypassing the `traceFile.length() > 0` check and opening a broken trace instead of showing NATIVE_ALLOCATIONS_PARSING_FAILURE. Return early from deobfuscateNativeAllocationTrace when originalFile is 0 bytes so failed captures properly show the error notification. Bug: 558698939 Test: MainMemoryProfilerStageTest Change-Id: Iff6ff7e92a0eb38a13a7f21d094e78bdac99a00f
This is the source code of the Android plugin for IntelliJ platform, which is also the main part of Android Studio.
See the links below for implementation details and make sure to read IntelliJ Platform SDK docs first.