diff options
| author | 2020-02-11 23:26:19 +0000 | |
|---|---|---|
| committer | 2020-02-11 23:26:19 +0000 | |
| commit | f22c0ebb8ad2bc22ab3e78b4e377ef39f3c9470e (patch) | |
| tree | c4f5c0ce6255f205113e26a8395bcc7550748d77 /cmds/dumpsys/main.cpp | |
| parent | ef22b781b9434cb2dcd9055228055dccf05a091b (diff) | |
| parent | 1a1208a68aaaa1597a3dc320096f5497c1b12263 (diff) | |
Merge "dumpsys: use std::c* instead of TextOutput" am: b4401d18d8 am: 5d1678950b am: 1a1208a68a
Change-Id: If064b7e57d7036b346c002a65e709d31b6cad72a
Diffstat (limited to 'cmds/dumpsys/main.cpp')
| -rw-r--r-- | cmds/dumpsys/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds/dumpsys/main.cpp b/cmds/dumpsys/main.cpp index 8ba0eba0fa..fa4cc97b91 100644 --- a/cmds/dumpsys/main.cpp +++ b/cmds/dumpsys/main.cpp @@ -21,10 +21,9 @@ #include "dumpsys.h" #include <binder/IServiceManager.h> -#include <binder/TextOutput.h> +#include <iostream> #include <signal.h> -#include <stdio.h> using namespace android; @@ -34,7 +33,7 @@ int main(int argc, char* const argv[]) { fflush(stdout); if (sm == nullptr) { ALOGE("Unable to get default service manager!"); - aerr << "dumpsys: Unable to get default service manager!" << endl; + std::cerr << "dumpsys: Unable to get default service manager!" << std::endl; return 20; } |