Merge "Add NPE check before stopping profiler"
This commit is contained in:
committed by
Android (Google) Code Review
commit
dacf5e522e
@@ -5032,7 +5032,9 @@ public final class ActivityThread {
|
||||
* @hide
|
||||
*/
|
||||
public void stopProfiling() {
|
||||
mProfiler.stopProfiling();
|
||||
if (mProfiler != null) {
|
||||
mProfiler.stopProfiling();
|
||||
}
|
||||
}
|
||||
|
||||
static final void handleDumpHeap(boolean managed, DumpHeapData dhd) {
|
||||
|
||||
Reference in New Issue
Block a user