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

This commit is contained in:
Calin Juravle
2016-04-18 10:40:29 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}