Merge "Register the UI Thread as a sensitive thread to the runtime" into nyc-dev
am: 6aff67b
* commit '6aff67bfcb9dcca6e3f26ff04dbe8f9806e5e8a5':
Register the UI Thread as a sensitive thread to the runtime
Change-Id: Ic272fa836f573f3565bd81068f437e972cbfcdcc
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