summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2017-05-06 04:46:45 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-05-06 04:46:47 +0000
commitfc93a4bd893cfc71ecea0f9e155b67b592e17a0a (patch)
tree4f17b1ace9efe9fe1fc3155e8dc0f377288dd3c7 /libs/binder/IPCThreadState.cpp
parent4b567487b7372d6bc4bb3c697723f7f5d464966b (diff)
parent2b6317436d2035ce98331906aaaca87e6026c9c8 (diff)
Merge "Correctly set minimum priority on nodes." into oc-dev
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index d0cd8f2f22..e8329613ab 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -338,6 +338,11 @@ void IPCThreadState::disableBackgroundScheduling(bool disable)
gDisableBackgroundScheduling = disable;
}
+bool IPCThreadState::backgroundSchedulingDisabled()
+{
+ return gDisableBackgroundScheduling;
+}
+
sp<ProcessState> IPCThreadState::process()
{
return mProcess;