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

Commit b8d5524d 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: f139143c

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

Change-Id: I45377b2a51c4776e29383be6095a1be0c33b0d49
parents 3fe855f4 f139143c
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);
        }