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

Commit 8f5770dc authored by Calin Juravle's avatar Calin Juravle
Browse files

Register the UI Thread as a sensitive thread to the runtime

Bug: 27865109
Bug: 28065407
Change-Id: I46194d444530770f505ac5e653536be2da7dd08b
parent 6e49a7fc
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);
        }