commit | 811a66a1febc2b766f36f3820ebf6cef5df32980 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jul 07 18:20:17 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 07 18:20:17 2022 +0000 |
tree | a02f62a18259d45630756257b7deb36855fe03fc | |
parent | 8897b3392334849dbfd0d4689406e8916a00ac99 [diff] | |
parent | f98c3d0b79b0355ca4e7fc0a5a61f9f498c45b4c [diff] |
Merge "servicemanager: startup log" am: 2f47fec948 am: 0fffa4dfb6 am: 0e7a0b38bd am: f98c3d0b79 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2147382 Change-Id: I08ca9133f06e9fdd4dc038606358a6734bd4894b 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);