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
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index 83ca687..9aedf28 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -130,7 +130,7 @@
// 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;
}