commit | 1b6084354710ca52c04ea361d751d19174802d57 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Mon Dec 13 16:52:35 2010 -0800 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Tue Dec 14 09:28:16 2010 -0800 |
tree | 9352b42604e36859861d70ccaf6bea0599e0911a | |
parent | f5da3fd78ab2c1fc13280784288494aaf619cc0f [diff] [blame] |
Framework-side support for Dalvik "isSensitiveThread" hook. Used in lock contention stats. Bug: 3226270 Change-Id: Ie6f58d130a29079a59bdefad40b80304d9bc3623
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h index b54718f..3378d97 100644 --- a/include/binder/IPCThreadState.h +++ b/include/binder/IPCThreadState.h
@@ -33,6 +33,7 @@ { public: static IPCThreadState* self(); + static IPCThreadState* selfOrNull(); // self(), but won't instantiate sp<ProcessState> process();