commit | 0e7a0b38bd84c967785a9b16916d40b158a67015 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jul 07 17:31:24 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 07 17:31:24 2022 +0000 |
tree | d96a4b2cce3bc84e72c0a8918db3a3c64fe39745 | |
parent | 77ebd39ecfd560959ba44ec0167d980d0030908b [diff] | |
parent | 0fffa4dfb6bd6d012d88e0b06d0bfb764fd50e86 [diff] |
Merge "servicemanager: startup log" am: 2f47fec948 am: 0fffa4dfb6 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2147382 Change-Id: I2a61d85bf85c78a9bda39e6f399bb837486db97c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/cmds/servicemanager/main.cpp b/cmds/servicemanager/main.cpp index 2fb9c2b..1d458b7 100644 --- a/cmds/servicemanager/main.cpp +++ b/cmds/servicemanager/main.cpp
@@ -121,6 +121,8 @@ const char* driver = argc == 2 ? argv[1] : "/dev/binder"; + LOG(INFO) << "Starting sm instance on " << driver; + sp<ProcessState> ps = ProcessState::initWithDriver(driver); ps->setThreadPoolMaxThreadCount(0); ps->setCallRestriction(ProcessState::CallRestriction::FATAL_IF_NOT_ONEWAY);