diff options
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
| -rw-r--r-- | libs/binder/IPCThreadState.cpp | 5 |
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; |