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

Commit f4d55b50 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

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

Change-Id: Ic272fa836f573f3565bd81068f437e972cbfcdcc
parents 4c89ae0e 6aff67bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5045,6 +5045,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);
        }