diff options
author | 2020-12-01 22:25:49 +0000 | |
---|---|---|
committer | 2020-12-01 22:25:49 +0000 | |
commit | 8cef02d1569a5ea345eb82ea2b1b88699c315552 (patch) | |
tree | dec0c1eaeab129a5eb25822f6b821268eac0e4ff /libs/binder/ProcessState.cpp | |
parent | 4aaa310584fcce57ec12eaf15a77312a9eb7c648 (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.cpp | 2 |
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; } |