summaryrefslogtreecommitdiff
path: root/include/binder/IPCThreadState.h
diff options
context:
space:
mode:
author Amith Yamasani <yamasani@google.com> 2011-05-04 14:49:28 -0700
committer Amith Yamasani <yamasani@google.com> 2012-02-03 12:01:47 -0800
commit4e975bb488bb3947703e95cb33a4838adda680f7 (patch)
tree6ec8d31f40818c68a5f53534574cbc05d4a271a4 /include/binder/IPCThreadState.h
parente08b48632b408e20676e4ce432debb6ae9fc1b13 (diff)
Multi-user - 1st major checkin
Switching activity stacks Cache ContentProvider per user Long-press power to switch users (on phone) Added ServiceMap for separating services by user Launch PendingIntents on the correct user's uid Fix task switching from Recents list AppWidgetService is mostly working. Commands added to pm and am to allow creating and switching profiles. Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
Diffstat (limited to 'include/binder/IPCThreadState.h')
-rw-r--r--include/binder/IPCThreadState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h
index 3378d97255..691ba2fa1d 100644
--- a/include/binder/IPCThreadState.h
+++ b/include/binder/IPCThreadState.h
@@ -41,6 +41,7 @@ public:
int getCallingPid();
int getCallingUid();
+ int getOrigCallingUid();
void setStrictModePolicy(int32_t policy);
int32_t getStrictModePolicy() const;
@@ -116,6 +117,7 @@ private:
status_t mLastError;
pid_t mCallingPid;
uid_t mCallingUid;
+ uid_t mOrigCallingUid;
int32_t mStrictModePolicy;
int32_t mLastTransactionBinderFlags;
};