summaryrefslogtreecommitdiffstats
path: root/include/binder/IPCThreadState.h
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2010-08-31 14:58:26 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-31 14:58:26 -0700
commit63070856d034a2819a26560bc7f2881e501c78b7 (patch)
treefaa0cf89229ca117811cfcb9e62ae65392b80b9f /include/binder/IPCThreadState.h
parent48ac68e1b117b6b55f06daced7d9d5d550853306 (diff)
parent0234376503ce421c4b871d5d811c541f5094301a (diff)
downloadframeworks_base-63070856d034a2819a26560bc7f2881e501c78b7.zip
frameworks_base-63070856d034a2819a26560bc7f2881e501c78b7.tar.gz
frameworks_base-63070856d034a2819a26560bc7f2881e501c78b7.tar.bz2
Merge "Don't propagate StrictMode over one-way Binder calls." into gingerbread
Diffstat (limited to 'include/binder/IPCThreadState.h')
-rw-r--r--include/binder/IPCThreadState.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h
index 04e24d2..b54718f 100644
--- a/include/binder/IPCThreadState.h
+++ b/include/binder/IPCThreadState.h
@@ -43,7 +43,10 @@ public:
void setStrictModePolicy(int32_t policy);
int32_t getStrictModePolicy() const;
-
+
+ void setLastTransactionBinderFlags(int32_t flags);
+ int32_t getLastTransactionBinderFlags() const;
+
int64_t clearCallingIdentity();
void restoreCallingIdentity(int64_t token);
@@ -113,6 +116,7 @@ private:
pid_t mCallingPid;
uid_t mCallingUid;
int32_t mStrictModePolicy;
+ int32_t mLastTransactionBinderFlags;
};
}; // namespace android