summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-12-01 22:25:49 +0000
committer Steven Moreland <smoreland@google.com> 2020-12-01 22:25:49 +0000
commit8cef02d1569a5ea345eb82ea2b1b88699c315552 (patch)
treedec0c1eaeab129a5eb25822f6b821268eac0e4ff /libs/binder/ProcessState.cpp
parent4aaa310584fcce57ec12eaf15a77312a9eb7c648 (diff)
libbinder: ProcessState - force mark SM stability
We have a 'tryMarkCompilationStability' here which should never fail, and is not error checked. Strengthening this check, since RPC root/context services will have a similarly strengthened check. Bug: 167966510 Test: boot Change-Id: Ie82b06df2dcb7cd5c41fd17d12f406775b6013f7
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r--libs/binder/ProcessState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index 83ca687519..9aedf28964 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -130,7 +130,7 @@ sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/)
// The root object is special since we get it directly from the driver, it is never
// written by Parcell::writeStrongBinder.
- internal::Stability::tryMarkCompilationUnit(context.get());
+ internal::Stability::markCompilationUnit(context.get());
return context;
}