Register the UI Thread as a sensitive thread to the runtime
Bug: 27865109 Bug: 28065407 Change-Id: I46194d444530770f505ac5e653536be2da7dd08b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user