From 8cef02d1569a5ea345eb82ea2b1b88699c315552 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 1 Dec 2020 22:25:49 +0000 Subject: 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 --- libs/binder/ProcessState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/binder/ProcessState.cpp') 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 ProcessState::getContextObject(const sp& /*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; } -- cgit v1.2.3-59-g8ed1b