summaryrefslogtreecommitdiff
path: root/Binder.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-02-08 17:56:59 -0800
committerSteven Moreland <smoreland@google.com>2019-02-08 17:57:03 -0800
commit3668e03e6a5c1cc644785e066ce4a2360e96a33f (patch)
tree928ced5873a99783f6c7683dabc691bc468ec5a4 /Binder.cpp
parent37f20bfe5b8c4ea2405fb920dd4357b551ff0a85 (diff)
downloadlibhwbinder-3668e03e6a5c1cc644785e066ce4a2360e96a33f.tar.gz
make setRequestingSid(false) work
Before, sid could never be turned from being requested to being unrequested, but no one called the API. Test: boot, check SafetyNet logs Change-Id: I4adeeb172af80fc2708d7811dd4bbf26b2c2d960
Diffstat (limited to 'Binder.cpp')
-rw-r--r--Binder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Binder.cpp b/Binder.cpp
index 72884f0..87bc143 100644
--- a/Binder.cpp
+++ b/Binder.cpp
@@ -102,7 +102,7 @@ void BHwBinder::setRequestingSid(bool requestingSid) {
if (!e) return; // out of memory
}
- e->mRequestingSid = true;
+ e->mRequestingSid = requestingSid;
}
status_t BHwBinder::transact(