Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27c55be8 authored by Calin Juravle's avatar Calin Juravle Committed by android-build-merger
Browse files

Merge "Register the UI Thread as a sensitive thread to the runtime" into nyc-dev am: 6aff67bf

am: f4d55b50

* commit 'f4d55b50':
  Register the UI Thread as a sensitive thread to the runtime

Change-Id: I7ac7d3a9ee011e8a220e47d398fb1ac3f30cfbb5
parents 3fe855f4 f4d55b50
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5043,6 +5043,8 @@ public final class ActivityThread {
    }

    private void handleBindApplication(AppBindData data) {
        // Register the UI Thread as a sensitive thread to the runtime.
        VMRuntime.registerSensitiveThread();
        if (data.trackAllocation) {
            DdmVmInternal.enableRecentAllocations(true);
        }