Allow the framework to register sensistive threads to the runtime
Bug: 27865109
Bug: 28065407
(cherry picked from commit 8fff24953c78bd58f3a42ac83b340b90e7e7228a)
Change-Id: I82094e46a2fd12617e091d98831193f9ff56d26b
diff --git a/runtime/runtime.h b/runtime/runtime.h
index b6a9125..fd4b5c8 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -636,6 +636,8 @@
return process_state_ == kProcessStateJankPerceptible;
}
+ void RegisterSensitiveThread() const;
+
void SetZygoteNoThreadSection(bool val) {
zygote_no_threads_ = val;
}